Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp137 SourceLocation StartOfLine = in NormalizeLine() local
140 SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine); in NormalizeLine()
144 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine()
147 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
/external/clang/lib/Format/
DBreakableToken.cpp345 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/
DParser.cpp61 : 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/include/clang/Lex/
DToken.h76 StartOfLine = 0x01, // At start of line or only after whitespace enumerator
261 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine()
DLexer.h592 void SkipBytes(unsigned Bytes, bool StartOfLine);
DPreprocessor.h1308 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { in setSkipMainFilePreamble() argument
1310 SkipMainFilePreamble.second = StartOfLine; in setSkipMainFilePreamble()
/external/clang/lib/Lex/
DTokenLexer.cpp427 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex()
486 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex()
491 if (AtStartOfLine) Tok.setFlag(Token::StartOfLine); in Lex()
661 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
DLexer.cpp1345 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { in SkipBytes() argument
1352 IsAtStartOfLine = StartOfLine; in SkipBytes()
1353 IsAtPhysicalStartOfLine = StartOfLine; in SkipBytes()
2004 Result.setFlag(Token::StartOfLine); in SkipWhitespace()
2144 Result.setFlag(Token::StartOfLine); in SkipLineComment()
2874 Result.setFlag(Token::StartOfLine); in Lex()
DPTHLexer.cpp178 if (y & Token::StartOfLine) break; in DiscardToEndOfLine()
DPPMacroExpansion.cpp540 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
/external/clang/lib/Frontend/
DCacheTokens.cpp320 Tmp.clearFlag(Token::StartOfLine); in LexTokens()
/external/clang/lib/Parse/
DParseStmtAsm.cpp467 Tok.setFlag(Token::StartOfLine); in ParseMicrosoftAsmStatement()
/external/clang/docs/
DInternalsManual.rst617 #. **StartOfLine** --- This was the first token that occurred on its input