Home
last modified time | relevance | path

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

/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp26 isAtStartOfLine = true; in AsmLexer()
443 bool SavedAtStartOfLine = isAtStartOfLine; in peekTokens()
464 isAtStartOfLine = SavedAtStartOfLine; in peekTokens()
498 if (CurChar == '#' && isAtStartOfLine) in LexToken()
500 isAtStartOfLine = true; in LexToken()
511 if (CurChar == EOF && !isAtStartOfLine) { in LexToken()
512 isAtStartOfLine = true; in LexToken()
516 isAtStartOfLine = false; in LexToken()
542 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.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.cpp624 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/llvm/include/llvm/MC/MCParser/
DAsmLexer.h32 bool isAtStartOfLine; variable
/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()
661 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
848 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()
2862 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.cpp218 if (Tok.isAtStartOfLine()) in DumpToken()
DPragma.cpp198 !Tok.isAtStartOfLine() && in Handle_Pragma()
DPPDirectives.cpp330 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock()
/external/clang/lib/Parse/
DParseStmtAsm.cpp299 if (!isNewStatement && (Tok.is(tok::kw_asm) || Tok.isAtStartOfLine())) { in buildMSAsmString()
395 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
430 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
443 SkippedStartOfLine = Tok.isAtStartOfLine(); in ParseMicrosoftAsmStatement()
DParseDecl.cpp1648 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) && in SkipMalformedDecl()
1657 if (Tok.isAtStartOfLine() && in SkipMalformedDecl()
1672 if (Tok.isAtStartOfLine() && ParsingInObjCContainer) in SkipMalformedDecl()
1822 if (Tok.isAtStartOfLine() && ExpectSemi && !MightBeDeclarator(Context)) { in ParseDeclGroup()
3930 (Tok.isAtStartOfLine() && in ParseEnumSpecifier()
5275 if (Tok.isAtStartOfLine() && Loc.isValid()) in ParseDirectDeclarator()
DParseDeclCXX.cpp1524 (Tok.isAtStartOfLine() && !isValidAfterTypeSpecifier(false)))) { in ParseClassSpecifier()
2669 if (Tok.isAtStartOfLine() && in ParseCXXClassMemberDeclaration()
3019 if (Tok.isAtStartOfLine()) { in ParseCXXMemberSpecification()
DParser.cpp207 while ((Tok.is(tok::semi) && !Tok.isAtStartOfLine())) { in ConsumeExtraSemi()
DParseExpr.cpp1398 if (getLangOpts().ObjC1 && Tok.isAtStartOfLine() && in ParsePostfixExpressionSuffix()
/external/clang/include/clang/Lex/
DToken.h261 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine() function
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp153 if (Token.isAtStartOfLine() && NextStart++ > 0) in NormalizeLine()
/external/clang/tools/libclang/
DCIndex.cpp6276 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in annotatePreprocessorTokens()
6319 } while (!Tok.isAtStartOfLine()); in annotatePreprocessorTokens()