Searched refs:StartOfLine (Results 1 - 12 of 12) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp137 SourceLocation StartOfLine = local
140 SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine);
144 const char *BufferPos = SM.getCharacterData(StartOfLine);
147 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts,
/external/clang/include/clang/Lex/
H A DToken.h76 StartOfLine = 0x01, // At start of line or only after whitespace enumerator in enum:clang::Token::TokenFlags
261 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; }
H A DLexer.h592 void SkipBytes(unsigned Bytes, bool StartOfLine);
H A DPreprocessor.h1306 /// \param StartOfLine Whether skipping these bytes puts the lexer at the
1308 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { argument
1310 SkipMainFilePreamble.second = StartOfLine;
/external/clang/lib/Format/
H A DBreakableToken.cpp345 size_t StartOfLine = Lines[LineIndex].find_first_not_of(Blanks); local
346 if (StartOfLine == StringRef::npos)
347 StartOfLine = Lines[LineIndex].rtrim("\r\n").size();
349 StringRef Whitespace = Lines[LineIndex].substr(0, StartOfLine);
352 Lines[LineIndex] = Lines[LineIndex].substr(StartOfLine);
/external/clang/lib/Lex/
H A DTokenLexer.cpp427 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine);
486 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine);
491 if (AtStartOfLine) Tok.setFlag(Token::StartOfLine);
661 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine());
H A DLexer.cpp1345 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { argument
1349 // FIXME: What exactly does the StartOfLine bit mean? There are two
1352 IsAtStartOfLine = StartOfLine;
1353 IsAtPhysicalStartOfLine = StartOfLine;
2004 Result.setFlag(Token::StartOfLine);
2144 Result.setFlag(Token::StartOfLine);
2874 Result.setFlag(Token::StartOfLine);
H A DPTHLexer.cpp178 if (y & Token::StartOfLine) break;
H A DPPMacroExpansion.cpp539 // Restore the StartOfLine/LeadingSpace markers.
540 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine);
/external/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp61 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error),
68 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error),
239 StartOfLine = Code.drop_front();
248 Location.Column = Code.data() - StartOfLine.data() + 1;
253 StringRef StartOfLine; member in class:clang::ast_matchers::dynamic::Parser::CodeTokenizer
/external/clang/lib/Frontend/
H A DCacheTokens.cpp320 Tmp.clearFlag(Token::StartOfLine);
/external/clang/lib/Parse/
H A DParseStmtAsm.cpp467 Tok.setFlag(Token::StartOfLine);

Completed in 401 milliseconds