Searched refs:DefMacroDirective (Results 1 – 8 of 8) sorted by relevance
/llvm-project/clang/include/clang/Lex/ |
H A D | MacroInfo.h | 30 class DefMacroDirective; variable 365 DefMacroDirective *DefDirective = nullptr; 371 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() 375 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective() 376 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() 432 class DefMacroDirective : public MacroDirective { 436 DefMacroDirective(MacroInfo *MI, SourceLocation Loc) in DefMacroDirective() function 440 explicit DefMacroDirective(MacroInfo *MI) in DefMacroDirective() function 441 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective() 451 static bool classof(const DefMacroDirective *) { return true; } in classof() argument [all …]
|
H A D | Preprocessor.h | 1365 return MacroDefinition(dyn_cast_or_null<DefMacroDirective>(MD), in isMacroDefinedInLocalModule() 1419 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, 1421 DefMacroDirective *MD = AllocateDefMacroDirective(MI, Loc); 1425 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, 2510 DefMacroDirective *AllocateDefMacroDirective(MacroInfo *MI,
|
/llvm-project/clang/lib/Lex/ |
H A D | MacroInfo.cpp | 201 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in getDefinition() 235 case MD_Define: Out << "DefMacroDirective"; break; in dump() 248 if (auto *DMD = dyn_cast<DefMacroDirective>(this)) { in dump()
|
H A D | PPLexerChange.cpp | 847 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in LeaveSubmodule()
|
H A D | PPDirectives.cpp | 67 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateMacroInfo() 69 return new (BP) DefMacroDirective(MI, Loc); in AllocateDefMacroDirective() 3277 DefMacroDirective *MD = in HandleDefineDirective()
|
H A D | PPMacroExpansion.cpp | 229 if (auto *DMD = dyn_cast_or_null<DefMacroDirective>(MD)) { in updateModuleMacroInfo()
|
/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInstance.cpp | 1571 if (auto *DMD = dyn_cast<DefMacroDirective>(MD)) in checkConfigMacro()
|
/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2628 if (auto *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor() 2647 if (auto *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor()
|