Home
last modified time | relevance | path

Searched refs:ModuleMacros (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Lex/
DMacroInfo.h565 ArrayRef<ModuleMacro *> ModuleMacros; variable
568 MacroDefinition() : LatestLocalAndAmbiguous(), ModuleMacros() {} in MacroDefinition()
571 : LatestLocalAndAmbiguous(MD, IsAmbiguous), ModuleMacros(MMs) {} in MacroDefinition()
575 return getLocalDirective() || !ModuleMacros.empty();
580 if (!ModuleMacros.empty()) in getMacroInfo()
581 return ModuleMacros.back()->getMacroInfo(); in getMacroInfo()
597 ArrayRef<ModuleMacro *> getModuleMacros() const { return ModuleMacros; } in getModuleMacros()
DPreprocessor.h546 llvm::FoldingSet<ModuleMacro> ModuleMacros; variable
/external/clang/lib/Lex/
DPPMacroExpansion.cpp91 if (auto *MM = ModuleMacros.FindNodeOrInsertPos(ID, InsertPos)) { in addModuleMacro()
97 ModuleMacros.InsertNode(MM, InsertPos); in addModuleMacro()
130 return ModuleMacros.FindNodeOrInsertPos(ID, InsertPos); in getModuleMacro()
DPreprocessor.cpp298 for (const ModuleMacro &Macro : ModuleMacros) in macro_begin()
/external/clang/lib/Serialization/
DASTReader.cpp1804 llvm::SmallVector<ModuleMacroRecord, 8> ModuleMacros; in resolvePendingMacro() local
1824 ModuleMacros.push_back(ModuleMacroRecord()); in resolvePendingMacro()
1825 auto &Info = ModuleMacros.back(); in resolvePendingMacro()
1845 std::reverse(ModuleMacros.begin(), ModuleMacros.end()); in resolvePendingMacro()
1847 for (auto &MMR : ModuleMacros) { in resolvePendingMacro()