Searched refs:StartOfLine (Results 1 – 13 of 13) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | IssueHash.cpp | 137 SourceLocation StartOfLine = in NormalizeLine() local 140 SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine); in NormalizeLine() 144 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine() 147 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
|
/external/clang/lib/Format/ |
D | BreakableToken.cpp | 345 size_t StartOfLine = Lines[LineIndex].find_first_not_of(Blanks); in adjustWhitespace() local 346 if (StartOfLine == StringRef::npos) in adjustWhitespace() 347 StartOfLine = Lines[LineIndex].rtrim("\r\n").size(); in adjustWhitespace() 349 StringRef Whitespace = Lines[LineIndex].substr(0, StartOfLine); in adjustWhitespace() 352 Lines[LineIndex] = Lines[LineIndex].substr(StartOfLine); in adjustWhitespace()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Parser.cpp | 61 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), in CodeTokenizer() 68 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), in CodeTokenizer() 239 StartOfLine = Code.drop_front(); in consumeWhitespace() 248 Location.Column = Code.data() - StartOfLine.data() + 1; in currentLocation() 253 StringRef StartOfLine; member in clang::ast_matchers::dynamic::Parser::CodeTokenizer
|
/external/clang/include/clang/Lex/ |
D | Token.h | 76 StartOfLine = 0x01, // At start of line or only after whitespace enumerator 261 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine()
|
D | Lexer.h | 592 void SkipBytes(unsigned Bytes, bool StartOfLine);
|
D | Preprocessor.h | 1308 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { in setSkipMainFilePreamble() argument 1310 SkipMainFilePreamble.second = StartOfLine; in setSkipMainFilePreamble()
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 427 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex() 486 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex() 491 if (AtStartOfLine) Tok.setFlag(Token::StartOfLine); in Lex() 661 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
|
D | Lexer.cpp | 1345 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { in SkipBytes() argument 1352 IsAtStartOfLine = StartOfLine; in SkipBytes() 1353 IsAtPhysicalStartOfLine = StartOfLine; in SkipBytes() 2004 Result.setFlag(Token::StartOfLine); in SkipWhitespace() 2144 Result.setFlag(Token::StartOfLine); in SkipLineComment() 2874 Result.setFlag(Token::StartOfLine); in Lex()
|
D | PTHLexer.cpp | 178 if (y & Token::StartOfLine) break; in DiscardToEndOfLine()
|
D | PPMacroExpansion.cpp | 540 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
|
/external/clang/lib/Frontend/ |
D | CacheTokens.cpp | 320 Tmp.clearFlag(Token::StartOfLine); in LexTokens()
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 467 Tok.setFlag(Token::StartOfLine); in ParseMicrosoftAsmStatement()
|
/external/clang/docs/ |
D | InternalsManual.rst | 617 #. **StartOfLine** --- This was the first token that occurred on its input
|