Searched refs:StartOfLine (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/Format/ |
D | BreakableToken.cpp | 305 size_t StartOfLine = Lines[LineIndex].find_first_not_of(Blanks); in adjustWhitespace() local 306 if (StartOfLine == StringRef::npos) in adjustWhitespace() 307 StartOfLine = Lines[LineIndex].size(); in adjustWhitespace() 311 Lines[LineIndex] = Lines[LineIndex].substr(StartOfLine); in adjustWhitespace() 324 StartOfLineColumn[LineIndex] = std::max<int>(0, StartOfLine + IndentDelta); in adjustWhitespace()
|
/external/clang/include/clang/Lex/ |
D | Token.h | 74 StartOfLine = 0x01, // At start of line or only after whitespace. enumerator 232 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine()
|
D | Lexer.h | 139 Result.setFlag(Token::StartOfLine); in Lex() 570 void SkipBytes(unsigned Bytes, bool StartOfLine);
|
D | Preprocessor.h | 940 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { in setSkipMainFilePreamble() argument 942 SkipMainFilePreamble.second = StartOfLine; in setSkipMainFilePreamble()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Parser.cpp | 59 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error) { in CodeTokenizer() 209 StartOfLine = Code.drop_front(); in consumeWhitespace() 218 Location.Column = Code.data() - StartOfLine.data() + 1; in currentLocation() 223 StringRef StartOfLine; member in clang::ast_matchers::dynamic::Parser::CodeTokenizer
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 485 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex() 644 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
|
D | Lexer.cpp | 1359 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { in SkipBytes() argument 1363 IsAtStartOfLine = StartOfLine; in SkipBytes() 1914 Result.setFlag(Token::StartOfLine); in SkipWhitespace() 2044 Result.setFlag(Token::StartOfLine); in SkipLineComment() 3454 Result.setFlag(Token::StartOfLine); in LexTokenInternal()
|
D | PTHLexer.cpp | 185 if (y & Token::StartOfLine) break; in DiscardToEndOfLine()
|
D | PPMacroExpansion.cpp | 329 if (IsAtStartOfLine) Identifier.setFlag(Token::StartOfLine); in HandleMacroExpandedIdentifier() 355 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
|
/external/clang/lib/Frontend/ |
D | CacheTokens.cpp | 295 Tmp.clearFlag(Token::StartOfLine); in LexTokens()
|
/external/clang/docs/ |
D | InternalsManual.rst | 614 #. **StartOfLine** --- This was the first token that occurred on its input
|