Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DMacroInfo.h28 class ModuleMacro; variable
497 class ModuleMacro : public llvm::FoldingSetNode {
512 ModuleMacro(Module *OwningModule, IdentifierInfo *II, MacroInfo *Macro, in ModuleMacro() function
513 ArrayRef<ModuleMacro *> Overrides) in ModuleMacro()
517 reinterpret_cast<ModuleMacro **>(this + 1)); in ModuleMacro()
521 static ModuleMacro *create(Preprocessor &PP, Module *OwningModule,
523 ArrayRef<ModuleMacro *> Overrides);
543 typedef ModuleMacro *const *overrides_iterator;
550 ArrayRef<ModuleMacro *> overrides() const { in overrides()
565 ArrayRef<ModuleMacro *> ModuleMacros;
[all …]
DPreprocessor.h381 llvm::TinyPtrVector<ModuleMacro*> ActiveModuleMacros;
388 llvm::TinyPtrVector<ModuleMacro*> OverriddenMacros;
451 ArrayRef<ModuleMacro *>
475 ArrayRef<ModuleMacro*> getOverriddenMacros() const { in getOverriddenMacros()
481 ArrayRef<ModuleMacro *> Overrides) { in setOverriddenMacros()
546 llvm::FoldingSet<ModuleMacro> ModuleMacros;
553 llvm::DenseMap<const IdentifierInfo *, llvm::TinyPtrVector<ModuleMacro*>>
893 ModuleMacro *addModuleMacro(Module *Mod, IdentifierInfo *II, MacroInfo *Macro,
894 ArrayRef<ModuleMacro *> Overrides, bool &IsNew);
895 ModuleMacro *getModuleMacro(Module *Mod, IdentifierInfo *II);
[all …]
/external/clang/lib/Lex/
DMacroInfo.cpp238 ModuleMacro *ModuleMacro::create(Preprocessor &PP, Module *OwningModule, in create()
240 ArrayRef<ModuleMacro *> Overrides) { in create()
242 sizeof(ModuleMacro) + sizeof(ModuleMacro *) * Overrides.size(), in create()
243 llvm::alignOf<ModuleMacro>()); in create()
244 return new (Mem) ModuleMacro(OwningModule, II, Macro, Overrides); in create()
DPPMacroExpansion.cpp83 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro()
85 ArrayRef<ModuleMacro *> Overrides, in addModuleMacro()
88 ModuleMacro::Profile(ID, Mod, II); in addModuleMacro()
96 auto *MM = ModuleMacro::create(*this, Mod, II, Macro, Overrides); in addModuleMacro()
110 [](ModuleMacro *MM) { in addModuleMacro()
125 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, IdentifierInfo *II) { in getModuleMacro()
127 ModuleMacro::Profile(ID, Mod, II); in getModuleMacro()
150 llvm::DenseMap<ModuleMacro *, int> NumHiddenOverrides; in updateModuleMacroInfo()
155 llvm::SmallVector<ModuleMacro *, 16> Worklist; in updateModuleMacroInfo()
212 ArrayRef<ModuleMacro*> Leaf; in dumpMacroInfo()
[all …]
DPreprocessor.cpp298 for (const ModuleMacro &Macro : ModuleMacros) in macro_begin()
/external/clang/include/clang/Serialization/
DASTReader.h80 class ModuleMacro; variable
/external/clang/lib/Serialization/
DASTWriter.cpp2193 SmallVector<ModuleMacro*, 8> Worklist(Leafs.begin(), Leafs.end()); in WritePreprocessor()
2194 llvm::DenseMap<ModuleMacro*, unsigned> Visits; in WritePreprocessor()
DASTReader.cpp1846 llvm::SmallVector<ModuleMacro*, 8> Overrides; in resolvePendingMacro()