Searched defs:StartOfLine (Results 1 - 5 of 5) sorted by relevance

/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
254 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; }
H A DPreprocessor.h1033 /// \param StartOfLine Whether skipping these bytes puts the lexer at the
1035 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { argument
1037 SkipMainFilePreamble.second = StartOfLine;
/external/clang/lib/Format/
H A DBreakableToken.cpp338 size_t StartOfLine = Lines[LineIndex].find_first_not_of(Blanks); local
339 if (StartOfLine == StringRef::npos)
340 StartOfLine = Lines[LineIndex].size();
342 StringRef Whitespace = Lines[LineIndex].substr(0, StartOfLine);
345 Lines[LineIndex] = Lines[LineIndex].substr(StartOfLine);
/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/Lex/
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;
2000 Result.setFlag(Token::StartOfLine);
2140 Result.setFlag(Token::StartOfLine);
2870 Result.setFlag(Token::StartOfLine);

Completed in 1039 milliseconds