Searched refs:MacroTok (Results 1 – 4 of 4) sorted by relevance
365 auto *MacroTok = AST->getTokens().spelledTokenAt( in TEST() local367 ASSERT_TRUE(MacroTok); in TEST()369 auto FoundMacro = locateMacroAt(*MacroTok, AST->getPreprocessor()); in TEST()389 auto *MacroTok = AST->getTokens().spelledTokenAt( in TEST() local391 ASSERT_TRUE(MacroTok); in TEST()393 auto FoundMacro = locateMacroAt(*MacroTok, AST->getPreprocessor()); in TEST()
548 Token MacroTok; in ParsePragmaPushOrPopMacro() local549 MacroTok.startToken(); in ParsePragmaPushOrPopMacro()550 MacroTok.setKind(tok::raw_identifier); in ParsePragmaPushOrPopMacro()551 CreateString(StringRef(&StrVal[1], StrVal.size() - 2), MacroTok); in ParsePragmaPushOrPopMacro()554 return LookUpIdentifierInfo(MacroTok); in ParsePragmaPushOrPopMacro()
592 Token MacroTok; in ParsePragmaPushOrPopMacro() local593 MacroTok.startToken(); in ParsePragmaPushOrPopMacro()594 MacroTok.setKind(tok::raw_identifier); in ParsePragmaPushOrPopMacro()595 CreateString(StringRef(&StrVal[1], StrVal.size() - 2), MacroTok); in ParsePragmaPushOrPopMacro()598 return LookUpIdentifierInfo(MacroTok); in ParsePragmaPushOrPopMacro()
1143 const AsmToken MacroTok = *tok; in Lex() local1145 if (handleMacroInvocation(M, MacroTok.getLoc())) { in Lex()1146 Lexer.UnLex(AsmToken(AsmToken::Error, MacroTok.getIdentifier())); in Lex()