Home
last modified time | relevance | path

Searched refs:DefMacroDirective (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h30 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 DPreprocessor.h1375 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 DMacroInfo.cpp203 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in getDefinition()
250 if (auto *DMD = dyn_cast<DefMacroDirective>(this)) { in dump()
H A DPPLexerChange.cpp848 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in LeaveSubmodule()
H A DPPDirectives.cpp69 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective()
71 return new (BP) DefMacroDirective(MI, Loc); in AllocateDefMacroDirective()
3255 DefMacroDirective *MD = in HandleDefineDirective()
H A DPPMacroExpansion.cpp231 if (auto *DMD = dyn_cast_or_null<DefMacroDirective>(MD)) { in updateModuleMacroInfo()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1576 if (auto *DMD = dyn_cast<DefMacroDirective>(MD)) in checkConfigMacro()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2586 if (auto *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor()
2605 if (auto *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor()