Home
last modified time | relevance | path

Searched refs:MacroTok (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DPreambleTests.cpp365 auto *MacroTok = AST->getTokens().spelledTokenAt( in TEST() local
367 ASSERT_TRUE(MacroTok); in TEST()
369 auto FoundMacro = locateMacroAt(*MacroTok, AST->getPreprocessor()); in TEST()
389 auto *MacroTok = AST->getTokens().spelledTokenAt( in TEST() local
391 ASSERT_TRUE(MacroTok); in TEST()
393 auto FoundMacro = locateMacroAt(*MacroTok, AST->getPreprocessor()); in TEST()
/external/clang/lib/Lex/
DPragma.cpp548 Token MacroTok; in ParsePragmaPushOrPopMacro() local
549 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()
/external/llvm-project/clang/lib/Lex/
DPragma.cpp592 Token MacroTok; in ParsePragmaPushOrPopMacro() local
593 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()
/external/llvm-project/llvm/lib/MC/MCParser/
DMasmParser.cpp1143 const AsmToken MacroTok = *tok; in Lex() local
1145 if (handleMacroInvocation(M, MacroTok.getLoc())) { in Lex()
1146 Lexer.UnLex(AsmToken(AsmToken::Error, MacroTok.getIdentifier())); in Lex()