Searched refs:ModuleMacro (Results 1 – 8 of 8) sorted by relevance
/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 28 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 …]
|
D | Preprocessor.h | 380 llvm::TinyPtrVector<ModuleMacro*> ActiveModuleMacros; 387 llvm::TinyPtrVector<ModuleMacro*> OverriddenMacros; 450 ArrayRef<ModuleMacro *> 474 ArrayRef<ModuleMacro*> getOverriddenMacros() const { in getOverriddenMacros() 480 ArrayRef<ModuleMacro *> Overrides) { in setOverriddenMacros() 542 llvm::FoldingSet<ModuleMacro> ModuleMacros; 546 llvm::DenseMap<const IdentifierInfo *, llvm::TinyPtrVector<ModuleMacro*>> 886 ModuleMacro *addModuleMacro(Module *Mod, IdentifierInfo *II, MacroInfo *Macro, 887 ArrayRef<ModuleMacro *> Overrides, bool &IsNew); 888 ModuleMacro *getModuleMacro(Module *Mod, IdentifierInfo *II); [all …]
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 238 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()
|
D | PPMacroExpansion.cpp | 76 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro() 78 ArrayRef<ModuleMacro *> Overrides, in addModuleMacro() 81 ModuleMacro::Profile(ID, Mod, II); in addModuleMacro() 89 auto *MM = ModuleMacro::create(*this, Mod, II, Macro, Overrides); in addModuleMacro() 103 [](ModuleMacro *MM) { in addModuleMacro() 118 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, IdentifierInfo *II) { in getModuleMacro() 120 ModuleMacro::Profile(ID, Mod, II); in getModuleMacro() 143 llvm::DenseMap<ModuleMacro *, int> NumHiddenOverrides; in updateModuleMacroInfo() 148 llvm::SmallVector<ModuleMacro *, 16> Worklist; in updateModuleMacroInfo() 205 ArrayRef<ModuleMacro*> Leaf; in dumpMacroInfo() [all …]
|
D | Preprocessor.cpp | 295 for (const ModuleMacro &Macro : ModuleMacros) in macro_begin()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 79 class ModuleMacro; variable
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2114 SmallVector<ModuleMacro*, 8> Worklist(Leafs.begin(), Leafs.end()); in WritePreprocessor() 2115 llvm::DenseMap<ModuleMacro*, unsigned> Visits; in WritePreprocessor()
|
D | ASTReader.cpp | 1823 llvm::SmallVector<ModuleMacro*, 8> Overrides; in resolvePendingMacro()
|