Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DMacroInfo.h305 class DefMacroDirective; variable
396 DefMacroDirective *DefDirective;
403 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo()
407 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()
408 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()
461 class DefMacroDirective : public MacroDirective {
465 explicit DefMacroDirective(MacroInfo *MI) in DefMacroDirective() function
470 DefMacroDirective(MacroInfo *MI, SourceLocation Loc, bool isImported) in DefMacroDirective() function
493 static bool classof(const DefMacroDirective *) { return true; } in classof() argument
DPreprocessor.h558 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, in appendDefMacroDirective()
561 DefMacroDirective *MD = AllocateDefMacroDirective(MI, Loc, isImported); in appendDefMacroDirective()
565 DefMacroDirective *appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI){ in appendDefMacroDirective()
1291 DefMacroDirective *AllocateDefMacroDirective(MacroInfo *MI,
/external/clang/lib/Lex/
DMacroInfo.cpp136 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in getDefinition()
DPPDirectives.cpp77 DefMacroDirective *
80 DefMacroDirective *MD = BP.Allocate<DefMacroDirective>(); in AllocateDefMacroDirective()
81 new (MD) DefMacroDirective(MI, Loc, isImported); in AllocateDefMacroDirective()
2037 DefMacroDirective *MD = in HandleDefineDirective()
DPPMacroExpansion.cpp52 bool isImportedMacro = isa<DefMacroDirective>(MD) && in appendMacroDirective()
53 cast<DefMacroDirective>(MD)->isImported(); in appendMacroDirective()
/external/clang/lib/Serialization/
DASTWriter.cpp1957 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) { in WritePreprocessor()
2958 DefMacroDirective *getFirstPublicSubmoduleMacro(MacroDirective *MD, in getFirstPublicSubmoduleMacro()
2961 if (DefMacroDirective *DefMD = getPublicSubmoduleMacro(MD, ModID)) in getFirstPublicSubmoduleMacro()
2967 DefMacroDirective *getNextPublicSubmoduleMacro(DefMacroDirective *MD, in getNextPublicSubmoduleMacro()
2969 if (DefMacroDirective * in getNextPublicSubmoduleMacro()
2980 DefMacroDirective *getPublicSubmoduleMacro(MacroDirective *MD, in getPublicSubmoduleMacro()
3009 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) { in getPublicSubmoduleMacro()
3029 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) { in getSubmoduleID()
3065 for (DefMacroDirective * in EmitKeyDataLength()
3122 for (DefMacroDirective * in EmitData()
DASTReader.cpp1563 DefMacroDirective *DefMD = in installPCHMacroDirectives()
1613 DefMacroDirective *DefMD = cast<DefMacroDirective>(MD); in installImportedMacro()