Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp140 SourceLocation StartOfLine = in NormalizeLine() local
143 SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine); in NormalizeLine()
147 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine()
150 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/lib/Lex/
DTokenLexer.cpp309 ResultToks[FirstResult].setFlagValue(Token::StartOfLine, false); in ExpandFunctionArguments()
427 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex()
486 Tok.setFlagValue(Token::StartOfLine , AtStartOfLine); in Lex()
491 if (AtStartOfLine) Tok.setFlag(Token::StartOfLine); in Lex()
662 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
DLexer.cpp1372 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { in SkipBytes() argument
1379 IsAtStartOfLine = StartOfLine; in SkipBytes()
1380 IsAtPhysicalStartOfLine = StartOfLine; in SkipBytes()
2032 Result.setFlag(Token::StartOfLine); in SkipWhitespace()
2172 Result.setFlag(Token::StartOfLine); in SkipLineComment()
2902 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/include/clang/Lex/
DToken.h74 StartOfLine = 0x01, // At start of line or only after whitespace enumerator
265 bool isAtStartOfLine() const { return getFlag(StartOfLine); } in isAtStartOfLine()
DLexer.h612 void SkipBytes(unsigned Bytes, bool StartOfLine);
DPreprocessor.h1336 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { in setSkipMainFilePreamble() argument
1338 SkipMainFilePreamble.second = StartOfLine; in setSkipMainFilePreamble()
/external/clang/lib/Frontend/
DCacheTokens.cpp320 Tmp.clearFlag(Token::StartOfLine); in LexTokens()
/external/clang/lib/Parse/
DParseStmtAsm.cpp501 Tok.setFlag(Token::StartOfLine); in ParseMicrosoftAsmStatement()
/external/clang/docs/
DInternalsManual.rst617 #. **StartOfLine** --- This was the first token that occurred on its input