Searched refs:DefMacroDirective (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 31 class DefMacroDirective; variable 340 DefMacroDirective *DefDirective = nullptr; 346 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() 351 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() 407 class DefMacroDirective : public MacroDirective { 411 DefMacroDirective(MacroInfo *MI, SourceLocation Loc) in DefMacroDirective() function 415 explicit DefMacroDirective(MacroInfo *MI) in DefMacroDirective() function 416 : DefMacroDirective(MI, MI->getDefinitionLoc()) {} in DefMacroDirective() 426 static bool classof(const DefMacroDirective *) { return true; } in classof() argument 571 MacroDefinition(DefMacroDirective *MD, ArrayRef<ModuleMacro *> MMs, in MacroDefinition() [all …]
|
| H A D | Preprocessor.h | 948 return MacroDefinition(dyn_cast_or_null<DefMacroDirective>(MD), in getMacroDefinition() 1002 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, in appendDefMacroDirective() 1004 DefMacroDirective *MD = AllocateDefMacroDirective(MI, Loc); in appendDefMacroDirective() 1008 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, in appendDefMacroDirective() 1927 DefMacroDirective *AllocateDefMacroDirective(MacroInfo *MI,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 184 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in getDefinition() 233 if (auto *DMD = dyn_cast<DefMacroDirective>(this)) { in dump()
|
| H A D | PPLexerChange.cpp | 781 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in LeaveSubmodule()
|
| H A D | PPDirectives.cpp | 64 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective() 66 return new (BP) DefMacroDirective(MI, Loc); in AllocateDefMacroDirective() 2648 DefMacroDirective *MD = in HandleDefineDirective()
|
| H A D | PPMacroExpansion.cpp | 230 if (auto *DMD = dyn_cast_or_null<DefMacroDirective>(MD)) { in updateModuleMacroInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 1338 if (auto *DMD = dyn_cast<DefMacroDirective>(MD)) in checkConfigMacro()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2514 if (auto *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor()
|