Home
last modified time | relevance | path

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

/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp27 isAtStartOfLine = true; in AsmLexer()
406 if (CurChar == '#' && isAtStartOfLine) in LexToken()
408 isAtStartOfLine = true; in LexToken()
419 if (CurChar == EOF && !isAtStartOfLine) { in LexToken()
420 isAtStartOfLine = true; in LexToken()
424 isAtStartOfLine = false; in LexToken()
450 isAtStartOfLine = true; in LexToken()
/external/clang/lib/Rewrite/Frontend/
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.cpp372 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
/external/clang/lib/Lex/
DMacroInfo.cpp100 (A.isAtStartOfLine() != B.isAtStartOfLine() || in isIdenticalTo()
DTokenLexer.cpp38 AtStartOfLine = Tok.isAtStartOfLine(); in Init()
103 AtStartOfLine = TokArray[0].isAtStartOfLine(); in Init()
644 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
DPPMacroExpansion.cpp320 bool IsAtStartOfLine = Identifier.isAtStartOfLine(); in HandleMacroExpandedIdentifier()
328 if (!Identifier.isAtStartOfLine()) { in HandleMacroExpandedIdentifier()
348 bool isAtStartOfLine = Identifier.isAtStartOfLine(); in HandleMacroExpandedIdentifier() local
355 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
DMacroArgs.cpp212 if (!isFirst && (Tok.hasLeadingSpace() || Tok.isAtStartOfLine())) in StringifyArgument()
DLexer.cpp598 if (!TheTok.isAtStartOfLine()) in ComputePreamble()
607 if (TheTok.isAtStartOfLine()) { in ComputePreamble()
623 if (TheTok.isAtStartOfLine() && TheTok.getKind() == tok::hash) { in ComputePreamble()
707 IfCount? IfStartTok.isAtStartOfLine() in ComputePreamble()
708 : TheTok.isAtStartOfLine()); in ComputePreamble()
3203 if (Result.isAtStartOfLine() && !LexingRawMode && !Is_PragmaLexer) in LexTokenInternal()
3369 if (Result.isAtStartOfLine() && !LexingRawMode && !Is_PragmaLexer) in LexTokenInternal()
DPTHLexer.cpp116 if (TKind == tok::hash && Tok.isAtStartOfLine()) { in Lex()
DPreprocessor.cpp199 if (Tok.isAtStartOfLine()) in DumpToken()
DPPDirectives.cpp285 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock()
/external/clang/lib/Frontend/
DCacheTokens.cpp287 if ((Tok.isAtStartOfLine() || Tok.is(tok::eof)) && in LexTokens()
307 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in LexTokens()
319 if (NextTok.isAtStartOfLine()) in LexTokens()
353 assert(!Tok.isAtStartOfLine()); in LexTokens()
387 while (Tok.isNot(tok::eof) && !Tok.isAtStartOfLine()); in LexTokens()
DPrintPreprocessedOutput.cpp610 if (Tok.isAtStartOfLine() && Callbacks->HandleFirstTokOnLine(Tok)) { in PrintPreprocessedTokens()
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h32 bool isAtStartOfLine; variable
/external/clang/lib/Rewrite/Core/
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/include/clang/Lex/
DToken.h232 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine() function
/external/clang/lib/Parse/
DParseDecl.cpp1541 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) && in SkipMalformedDecl()
1550 if (Tok.isAtStartOfLine() && in SkipMalformedDecl()
1565 if (Tok.isAtStartOfLine() && ParsingInObjCContainer) in SkipMalformedDecl()
1688 if (Tok.isAtStartOfLine() && ExpectSemi && !MightBeDeclarator(Context)) { in ParseDeclGroup()
3596 (Tok.isAtStartOfLine() && in ParseEnumSpecifier()
DParseDeclCXX.cpp1368 (Tok.isAtStartOfLine() && !isValidAfterTypeSpecifier(false)))) { in ParseClassSpecifier()
2347 if (Tok.isAtStartOfLine() && in ParseCXXClassMemberDeclaration()
DParser.cpp224 while ((Tok.is(tok::semi) && !Tok.isAtStartOfLine())) { in ConsumeExtraSemi()
DParseExpr.cpp1327 if (getLangOpts().ObjC1 && Tok.isAtStartOfLine() && in ParsePostfixExpressionSuffix()
DParseStmt.cpp1911 (Tok.is(tok::kw_asm) || Tok.isAtStartOfLine())) { in buildMSAsmString()
/external/clang/tools/libclang/
DCIndex.cpp5533 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in annotatePreprocessorTokens()
5576 } while (!Tok.isAtStartOfLine()); in annotatePreprocessorTokens()