Searched refs:StartOfLine (Results 1 – 13 of 13) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | IssueHash.cpp | 140 SourceLocation StartOfLine = in NormalizeLine() local 143 SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine); in NormalizeLine() 147 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine() 150 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/lib/Lex/ |
D | TokenLexer.cpp | 309 ResultToks[FirstResult].setFlagValue(Token::StartOfLine, false); in ExpandFunctionArguments() 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() 662 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
|
D | Lexer.cpp | 1372 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { in SkipBytes() argument 1379 IsAtStartOfLine = StartOfLine; in SkipBytes() 1380 IsAtPhysicalStartOfLine = StartOfLine; in SkipBytes() 2032 Result.setFlag(Token::StartOfLine); in SkipWhitespace() 2172 Result.setFlag(Token::StartOfLine); in SkipLineComment() 2902 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/include/clang/Lex/ |
D | Token.h | 74 StartOfLine = 0x01, // At start of line or only after whitespace enumerator 265 bool isAtStartOfLine() const { return getFlag(StartOfLine); } in isAtStartOfLine()
|
D | Lexer.h | 612 void SkipBytes(unsigned Bytes, bool StartOfLine);
|
D | Preprocessor.h | 1336 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { in setSkipMainFilePreamble() argument 1338 SkipMainFilePreamble.second = StartOfLine; in setSkipMainFilePreamble()
|
/external/clang/lib/Frontend/ |
D | CacheTokens.cpp | 320 Tmp.clearFlag(Token::StartOfLine); in LexTokens()
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 501 Tok.setFlag(Token::StartOfLine); in ParseMicrosoftAsmStatement()
|
/external/clang/docs/ |
D | InternalsManual.rst | 617 #. **StartOfLine** --- This was the first token that occurred on its input
|