Home
last modified time | relevance | path

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

/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp27 isAtStartOfLine = true; in AsmLexer()
368 if (CurChar == '#' && isAtStartOfLine) in LexToken()
370 isAtStartOfLine = true; in LexToken()
381 if (CurChar == EOF && !isAtStartOfLine) { in LexToken()
382 isAtStartOfLine = true; in LexToken()
386 isAtStartOfLine = false; in LexToken()
403 isAtStartOfLine = true; in LexToken()
/external/clang/lib/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()
DHTMLRewrite.cpp418 if (!Tok.isAtStartOfLine()) in SyntaxHighlight()
425 while (!Tok.isAtStartOfLine() && Tok.isNot(tok::eof)) { in SyntaxHighlight()
464 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) in HighlightMacros()
/external/clang/lib/Lex/
DMacroInfo.cpp116 (A.isAtStartOfLine() != B.isAtStartOfLine() || in isIdenticalTo()
DPPMacroExpansion.cpp260 bool IsAtStartOfLine = Identifier.isAtStartOfLine(); in HandleMacroExpandedIdentifier()
268 if (!Identifier.isAtStartOfLine()) { in HandleMacroExpandedIdentifier()
288 bool isAtStartOfLine = Identifier.isAtStartOfLine(); in HandleMacroExpandedIdentifier() local
295 Identifier.setFlagValue(Token::StartOfLine , isAtStartOfLine); in HandleMacroExpandedIdentifier()
DTokenLexer.cpp37 AtStartOfLine = Tok.isAtStartOfLine(); in Init()
102 AtStartOfLine = TokArray[0].isAtStartOfLine(); in Init()
582 Result.setFlagValue(Token::StartOfLine , Tok.isAtStartOfLine()); in PasteTokens()
DLexer.cpp553 if (!TheTok.isAtStartOfLine()) in ComputePreamble()
562 if (TheTok.isAtStartOfLine()) { in ComputePreamble()
575 if (TheTok.isAtStartOfLine() && TheTok.getKind() == tok::hash) { in ComputePreamble()
651 IfCount? IfStartTok.isAtStartOfLine() in ComputePreamble()
652 : TheTok.isAtStartOfLine()); in ComputePreamble()
3005 if (Result.isAtStartOfLine() && !LexingRawMode && !Is_PragmaLexer) { in LexTokenInternal()
3189 if (Result.isAtStartOfLine() && !LexingRawMode && !Is_PragmaLexer) { in LexTokenInternal()
DMacroArgs.cpp212 if (!isFirst && (Tok.hasLeadingSpace() || Tok.isAtStartOfLine())) in StringifyArgument()
DPreprocessor.cpp189 if (Tok.isAtStartOfLine()) in DumpToken()
DPTHLexer.cpp117 if (TKind == tok::hash && Tok.isAtStartOfLine()) { in Lex()
DPPDirectives.cpp247 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock()
/external/clang/lib/Frontend/
DCacheTokens.cpp288 if ((Tok.isAtStartOfLine() || Tok.is(tok::eof)) && in LexTokens()
308 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in LexTokens()
320 if (NextTok.isAtStartOfLine()) in LexTokens()
354 assert(!Tok.isAtStartOfLine()); in LexTokens()
388 while (Tok.isNot(tok::eof) && !Tok.isAtStartOfLine()); in LexTokens()
DPrintPreprocessedOutput.cpp502 if (Tok.isAtStartOfLine() && Callbacks->HandleFirstTokOnLine(Tok)) { in PrintPreprocessedTokens()
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h32 bool isAtStartOfLine; variable
/external/clang/include/clang/Lex/
DToken.h238 bool isAtStartOfLine() const { return (Flags & StartOfLine) ? true : false; } in isAtStartOfLine() function
/external/clang/lib/Parse/
DParseDecl.cpp1165 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace)) in SkipMalformedDecl()
1172 if (Tok.isAtStartOfLine()) in SkipMalformedDecl()
1278 if (Tok.isAtStartOfLine() && ExpectSemi && !MightBeDeclarator(Context)) { in ParseDeclGroup()
DParseExpr.cpp1287 if (getLangOpts().ObjC1 && Tok.isAtStartOfLine() && in ParsePostfixExpressionSuffix()
DParseDeclCXX.cpp2084 if (Tok.isAtStartOfLine() && in ParseCXXClassMemberDeclaration()
/external/clang/tools/libclang/
DCIndex.cpp5220 if (Tok.is(tok::hash) && Tok.isAtStartOfLine()) { in annotatePreprocessorTokens()
5232 } while (!Tok.isAtStartOfLine() && !Tok.is(tok::eof)); in annotatePreprocessorTokens()
5243 if (Tok.isAtStartOfLine()) in annotatePreprocessorTokens()