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 | 381 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/ |
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 | 83 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 …]
|
D | Preprocessor.cpp | 298 for (const ModuleMacro &Macro : ModuleMacros) in macro_begin()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 80 class ModuleMacro; variable
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2193 SmallVector<ModuleMacro*, 8> Worklist(Leafs.begin(), Leafs.end()); in WritePreprocessor() 2194 llvm::DenseMap<ModuleMacro*, unsigned> Visits; in WritePreprocessor()
|
D | ASTReader.cpp | 1846 llvm::SmallVector<ModuleMacro*, 8> Overrides; in resolvePendingMacro()
|