Home
last modified time | relevance | path

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

/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp26 isAtStartOfLine = true; in AsmLexer()
442 bool SavedAtStartOfLine = isAtStartOfLine; in peekTok()
454 isAtStartOfLine = SavedAtStartOfLine; in peekTok()
488 if (CurChar == '#' && isAtStartOfLine) in LexToken()
490 isAtStartOfLine = true; in LexToken()
501 if (CurChar == EOF && !isAtStartOfLine) { in LexToken()
502 isAtStartOfLine = true; in LexToken()
506 isAtStartOfLine = false; in LexToken()
532 isAtStartOfLine = true; in LexToken()
/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.cpp420 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
/external/clang/lib/Frontend/
DCacheTokens.cpp311 if ((Tok.isAtStartOfLine() || Tok.is(tok::eof)) && in LexTokens()
331 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in LexTokens()
343 if (NextTok.isAtStartOfLine()) in LexTokens()
377 assert(!Tok.isAtStartOfLine()); in LexTokens()
411 while (Tok.isNot(tok::eof) && !Tok.isAtStartOfLine()); in LexTokens()
DPrintPreprocessedOutput.cpp612 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()
105 AtStartOfLine = TokArray[0].isAtStartOfLine(); in Init()
654 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
841 AtStartOfLine = Result.isAtStartOfLine(); in PropagateLineStartLeadingSpaceInfo()
DMacroArgs.cpp212 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()
2858 IsAtStartOfLine = Result.isAtStartOfLine(); in PropagateLineStartLeadingSpaceInfo()
DPPMacroExpansion.cpp344 bool isAtStartOfLine = Identifier.isAtStartOfLine(); in HandleMacroExpandedIdentifier() local
351 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
DPTHLexer.cpp111 if (TKind == tok::hash && Tok.isAtStartOfLine()) { in Lex()
DPreprocessor.cpp212 if (Tok.isAtStartOfLine()) in DumpToken()
DPPDirectives.cpp340 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock()
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h32 bool isAtStartOfLine; variable
/external/clang/lib/Parse/
DParseStmtAsm.cpp277 if (!isNewStatement && (Tok.is(tok::kw_asm) || Tok.isAtStartOfLine())) { in buildMSAsmString()
373 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
408 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
421 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
DParseDecl.cpp1582 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) && in SkipMalformedDecl()
1591 if (Tok.isAtStartOfLine() && in SkipMalformedDecl()
1606 if (Tok.isAtStartOfLine() && ParsingInObjCContainer) in SkipMalformedDecl()
1756 if (Tok.isAtStartOfLine() && ExpectSemi && !MightBeDeclarator(Context)) { in ParseDeclGroup()
3802 (Tok.isAtStartOfLine() && in ParseEnumSpecifier()
5075 if (Tok.isAtStartOfLine() && Loc.isValid()) in ParseDirectDeclarator()
DParseDeclCXX.cpp1490 (Tok.isAtStartOfLine() && !isValidAfterTypeSpecifier(false)))) { in ParseClassSpecifier()
2597 if (Tok.isAtStartOfLine() && in ParseCXXClassMemberDeclaration()
2857 if (Tok.isAtStartOfLine()) { in ParseCXXMemberSpecification()
DParser.cpp187 while ((Tok.is(tok::semi) && !Tok.isAtStartOfLine())) { in ConsumeExtraSemi()
DParseExpr.cpp1357 if (getLangOpts().ObjC1 && Tok.isAtStartOfLine() && in ParsePostfixExpressionSuffix()
/external/clang/include/clang/Lex/
DToken.h254 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine() function
/external/clang/tools/libclang/
DCIndex.cpp6031 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in annotatePreprocessorTokens()
6073 } while (!Tok.isAtStartOfLine()); in annotatePreprocessorTokens()