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

/external/clang/include/clang/Lex/
H A DToken.h74 StartOfLine = 0x01, // At start of line or only after whitespace enumerator in enum:clang::Token::TokenFlags
232 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; }
H A DPreprocessor.h997 /// \param StartOfLine Whether skipping these bytes puts the lexer at the
999 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { argument
1001 SkipMainFilePreamble.second = StartOfLine;
/external/clang/lib/Format/
H A DBreakableToken.cpp337 size_t StartOfLine = Lines[LineIndex].find_first_not_of(Blanks); local
338 if (StartOfLine == StringRef::npos)
339 StartOfLine = Lines[LineIndex].size();
341 StringRef Whitespace = Lines[LineIndex].substr(0, StartOfLine);
344 Lines[LineIndex] = Lines[LineIndex].substr(StartOfLine);
/external/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp60 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error),
67 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error),
238 StartOfLine = Code.drop_front();
247 Location.Column = Code.data() - StartOfLine.data() + 1;
252 StringRef StartOfLine; member in class:clang::ast_matchers::dynamic::Parser::CodeTokenizer
/external/clang/lib/Lex/
H A DLexer.cpp1351 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { argument
1355 // FIXME: What exactly does the StartOfLine bit mean? There are two
1358 IsAtStartOfLine = StartOfLine;
1359 IsAtPhysicalStartOfLine = StartOfLine;
2003 Result.setFlag(Token::StartOfLine);
2143 Result.setFlag(Token::StartOfLine);
2873 Result.setFlag(Token::StartOfLine);

Completed in 154 milliseconds