Home
last modified time | relevance | path

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

/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()
DPrintPreprocessedOutput.cpp645 if (Tok.isAtStartOfLine() && Callbacks->HandleFirstTokOnLine(Tok)) { in PrintPreprocessedTokens()
/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()
DPTHLexer.cpp111 if (TKind == tok::hash && Tok.isAtStartOfLine()) { in Lex()
DPreprocessor.cpp221 if (Tok.isAtStartOfLine()) in DumpToken()
DPragma.cpp198 !Tok.isAtStartOfLine() && in Handle_Pragma()
DPPDirectives.cpp411 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock()
/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()
DParseDecl.cpp1684 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) && in SkipMalformedDecl()
1693 if (Tok.isAtStartOfLine() && in SkipMalformedDecl()
1708 if (Tok.isAtStartOfLine() && ParsingInObjCContainer) in SkipMalformedDecl()
1858 if (Tok.isAtStartOfLine() && ExpectSemi && !MightBeDeclarator(Context)) { in ParseDeclGroup()
4019 (Tok.isAtStartOfLine() && in ParseEnumSpecifier()
5380 if (Tok.isAtStartOfLine() && Loc.isValid()) in ParseDirectDeclarator()
DParseDeclCXX.cpp1539 (Tok.isAtStartOfLine() && !isValidAfterTypeSpecifier(false)))) { in ParseClassSpecifier()
2689 if (Tok.isAtStartOfLine() && in ParseCXXClassMemberDeclaration()
3040 if (Tok.isAtStartOfLine()) { in ParseCXXMemberSpecification()
DParser.cpp207 while ((Tok.is(tok::semi) && !Tok.isAtStartOfLine())) { in ConsumeExtraSemi()
DParseExpr.cpp1440 if (getLangOpts().ObjC1 && Tok.isAtStartOfLine() && in ParsePostfixExpressionSuffix()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp156 if (Token.isAtStartOfLine() && NextStart++ > 0) in NormalizeLine()
/external/clang/include/clang/Lex/
DToken.h265 bool isAtStartOfLine() const { return getFlag(StartOfLine); } in isAtStartOfLine() function
/external/clang/tools/libclang/
DCIndex.cpp6646 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in annotatePreprocessorTokens()
6689 } while (!Tok.isAtStartOfLine()); in annotatePreprocessorTokens()