Home
last modified time | relevance | path

Searched refs:isAtStartOfLine (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp126 if (RawTok.is(tok::hash) && RawTok.isAtStartOfLine()) { in RewriteMacrosInInput()
146 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) in RewriteMacrosInInput()
184 } while (RawOffs <= PPOffs && !RawTok.isAtStartOfLine() && in RewriteMacrosInInput()
DInclusionRewriter.cpp410 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp127 if (RawTok.is(tok::hash) && RawTok.isAtStartOfLine()) { in RewriteMacrosInInput()
147 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) in RewriteMacrosInInput()
185 } while (RawOffs <= PPOffs && !RawTok.isAtStartOfLine() && in RewriteMacrosInInput()
DInclusionRewriter.cpp436 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
/external/clang/lib/Frontend/
DCacheTokens.cpp312 if ((Tok.isAtStartOfLine() || Tok.is(tok::eof)) && in LexTokens()
332 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in LexTokens()
344 if (NextTok.isAtStartOfLine()) in LexTokens()
378 assert(!Tok.isAtStartOfLine()); in LexTokens()
412 while (Tok.isNot(tok::eof) && !Tok.isAtStartOfLine()); in LexTokens()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp417 if (!Tok.isAtStartOfLine()) in SyntaxHighlight()
424 while (!Tok.isAtStartOfLine() && Tok.isNot(tok::eof)) { in SyntaxHighlight()
463 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) in HighlightMacros()
/external/clang/lib/Lex/
DMacroInfo.cpp101 (A.isAtStartOfLine() != B.isAtStartOfLine() || in isIdenticalTo()
DTokenLexer.cpp38 AtStartOfLine = Tok.isAtStartOfLine(); in Init()
103 AtStartOfLine = TokArray[0].isAtStartOfLine(); in Init()
662 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
855 AtStartOfLine = Result.isAtStartOfLine(); in PropagateLineStartLeadingSpaceInfo()
DMacroArgs.cpp211 if (!isFirst && (Tok.hasLeadingSpace() || Tok.isAtStartOfLine())) in StringifyArgument()
DLexer.cpp585 if (!TheTok.isAtStartOfLine()) in ComputePreamble()
594 if (TheTok.isAtStartOfLine()) { in ComputePreamble()
610 if (TheTok.isAtStartOfLine() && TheTok.getKind() == tok::hash) { in ComputePreamble()
693 IfCount? IfStartTok.isAtStartOfLine() in ComputePreamble()
694 : TheTok.isAtStartOfLine()); in ComputePreamble()
2890 IsAtStartOfLine = Result.isAtStartOfLine(); in PropagateLineStartLeadingSpaceInfo()
DPPMacroExpansion.cpp533 bool isAtStartOfLine = Identifier.isAtStartOfLine(); in HandleMacroExpandedIdentifier() local
540 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
/external/llvm-project/clang/lib/Lex/
DMacroInfo.cpp104 (A.isAtStartOfLine() != B.isAtStartOfLine() || in isIdenticalTo()
DTokenLexer.cpp50 AtStartOfLine = Tok.isAtStartOfLine(); in Init()
119 AtStartOfLine = TokArray[0].isAtStartOfLine(); in Init()
885 Result.setFlagValue(Token::StartOfLine , LHSTok.isAtStartOfLine()); in pasteTokens()
1077 AtStartOfLine = Result.isAtStartOfLine(); in PropagateLineStartLeadingSpaceInfo()
DMacroArgs.cpp225 if (!isFirst && (Tok.hasLeadingSpace() || Tok.isAtStartOfLine())) in StringifyArgument()
DLexer.cpp628 if (!TheTok.isAtStartOfLine()) in ComputePreamble()
637 if (TheTok.isAtStartOfLine()) { in ComputePreamble()
653 if (TheTok.isAtStartOfLine() && TheTok.getKind() == tok::hash) { in ComputePreamble()
718 TheTok.isAtStartOfLine()); in ComputePreamble()
3158 IsAtStartOfLine = Result.isAtStartOfLine(); in PropagateLineStartLeadingSpaceInfo()
DPreprocessor.cpp242 if (Tok.isAtStartOfLine()) in DumpToken()
1002 bool StartOfLine = FilenameTok.isAtStartOfLine(); in LexHeaderName()
/external/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp505 if (!Tok.isAtStartOfLine()) in SyntaxHighlight()
512 while (!Tok.isAtStartOfLine() && Tok.isNot(tok::eof)) { in SyntaxHighlight()
551 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) in HighlightMacros()
/external/clang/lib/Parse/
DParseStmtAsm.cpp296 if (!isNewStatement && (Tok.is(tok::kw_asm) || Tok.isAtStartOfLine())) { in buildMSAsmString()
419 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
459 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
472 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
/external/llvm-project/clang/lib/Parse/
DParseStmtAsm.cpp312 if (!isNewStatement && (Tok.is(tok::kw_asm) || Tok.isAtStartOfLine())) { in buildMSAsmString()
417 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
457 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
475 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
/external/clang/include/clang/Lex/
DToken.h265 bool isAtStartOfLine() const { return getFlag(StartOfLine); } in isAtStartOfLine() function
/external/llvm-project/clang/lib/Analysis/
DIssueHash.cpp163 if (Token.isAtStartOfLine() && NextStart++ > 0) in NormalizeLine()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp156 if (Token.isAtStartOfLine() && NextStart++ > 0) in NormalizeLine()
/external/llvm-project/clang/include/clang/Lex/
DToken.h268 bool isAtStartOfLine() const { return getFlag(StartOfLine); } in isAtStartOfLine() function
/external/llvm-project/clang/lib/Frontend/
DFrontendAction.cpp251 if (RawLexer->LexFromRawLexer(T) || T.isAtStartOfLine() || in ReadOriginalFileName()
265 if (T.isAtStartOfLine() || T.getKind() != tok::string_literal) in ReadOriginalFileName()
272 if (T.isNot(tok::eof) && !T.isAtStartOfLine()) in ReadOriginalFileName()
/external/llvm-project/clang/lib/Tooling/Inclusions/
DHeaderIncludes.cpp105 Tok.isAtStartOfLine()) in getOffsetAfterHeaderGuardsAndComments()

12