Searched refs:DefMacroDirective (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/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 | 1375 return MacroDefinition(dyn_cast_or_null<DefMacroDirective>(MD), in getMacroDefinition() 1429 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, in appendDefMacroDirective() 1431 DefMacroDirective *MD = AllocateDefMacroDirective(MI, Loc); in appendDefMacroDirective() 1435 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, in appendDefMacroDirective() 2500 DefMacroDirective *AllocateDefMacroDirective(MacroInfo *MI,
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | MacroInfo.cpp | 203 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in getDefinition() 250 if (auto *DMD = dyn_cast<DefMacroDirective>(this)) { in dump()
|
H A D | PPLexerChange.cpp | 848 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in LeaveSubmodule()
|
H A D | PPDirectives.cpp | 69 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective() 71 return new (BP) DefMacroDirective(MI, Loc); in AllocateDefMacroDirective() 3255 DefMacroDirective *MD = in HandleDefineDirective()
|
H A D | PPMacroExpansion.cpp | 231 if (auto *DMD = dyn_cast_or_null<DefMacroDirective>(MD)) { in updateModuleMacroInfo()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInstance.cpp | 1576 if (auto *DMD = dyn_cast<DefMacroDirective>(MD)) in checkConfigMacro()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2586 if (auto *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor() 2605 if (auto *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor()
|