Home
last modified time | relevance | path

Searched refs:StartOfLine (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Format/
DBreakableToken.cpp305 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/
DToken.h74 StartOfLine = 0x01, // At start of line or only after whitespace. enumerator
232 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine()
DLexer.h139 Result.setFlag(Token::StartOfLine); in Lex()
570 void SkipBytes(unsigned Bytes, bool StartOfLine);
DPreprocessor.h940 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { in setSkipMainFilePreamble() argument
942 SkipMainFilePreamble.second = StartOfLine; in setSkipMainFilePreamble()
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp59 : 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/
DTokenLexer.cpp485 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex()
644 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
DLexer.cpp1359 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()
DPTHLexer.cpp185 if (y & Token::StartOfLine) break; in DiscardToEndOfLine()
DPPMacroExpansion.cpp329 if (IsAtStartOfLine) Identifier.setFlag(Token::StartOfLine); in HandleMacroExpandedIdentifier()
355 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
/external/clang/lib/Frontend/
DCacheTokens.cpp295 Tmp.clearFlag(Token::StartOfLine); in LexTokens()
/external/clang/docs/
DInternalsManual.rst614 #. **StartOfLine** --- This was the first token that occurred on its input