/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/llvm-project/clang/include/clang/Lex/ |
D | MacroInfo.h | 488 class ModuleMacro : public llvm::FoldingSetNode { 506 ModuleMacro(Module *OwningModule, IdentifierInfo *II, MacroInfo *Macro, in ModuleMacro() function 507 ArrayRef<ModuleMacro *> Overrides) in ModuleMacro() 511 reinterpret_cast<ModuleMacro **>(this + 1)); in ModuleMacro() 515 static ModuleMacro *create(Preprocessor &PP, Module *OwningModule, 517 ArrayRef<ModuleMacro *> Overrides); 541 using overrides_iterator = ModuleMacro *const *; 551 ArrayRef<ModuleMacro *> overrides() const { in overrides() 566 ArrayRef<ModuleMacro *> ModuleMacros; 570 MacroDefinition(DefMacroDirective *MD, ArrayRef<ModuleMacro *> MMs, in MacroDefinition() [all …]
|
D | Preprocessor.h | 580 llvm::TinyPtrVector<ModuleMacro *> ActiveModuleMacros; 590 llvm::TinyPtrVector<ModuleMacro *> OverriddenMacros; 662 ArrayRef<ModuleMacro *> 687 ArrayRef<ModuleMacro*> getOverriddenMacros() const { in getOverriddenMacros() 694 ArrayRef<ModuleMacro *> Overrides) { in setOverriddenMacros() 766 llvm::FoldingSet<ModuleMacro> ModuleMacros; 773 llvm::DenseMap<const IdentifierInfo *, llvm::TinyPtrVector<ModuleMacro *>> 1152 ModuleMacro *addModuleMacro(Module *Mod, IdentifierInfo *II, MacroInfo *Macro, 1153 ArrayRef<ModuleMacro *> Overrides, bool &IsNew); 1154 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/llvm-project/clang/lib/Lex/ |
D | MacroInfo.cpp | 241 ModuleMacro *ModuleMacro::create(Preprocessor &PP, Module *OwningModule, in create() 243 ArrayRef<ModuleMacro *> Overrides) { in create() 245 sizeof(ModuleMacro) + sizeof(ModuleMacro *) * Overrides.size(), in create() 246 alignof(ModuleMacro)); in create() 247 return new (Mem) ModuleMacro(OwningModule, II, Macro, Overrides); in create()
|
D | Preprocessor.cpp | 319 for (const ModuleMacro &Macro : ModuleMacros) in macro_begin()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangModulesDeclVendor.cpp | 466 for (clang::ModuleMacro *module_macro : in ForEachMacro()
|
/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()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2232 SmallVector<ModuleMacro*, 8> Worklist(Leafs.begin(), Leafs.end()); in WritePreprocessor() 2233 llvm::DenseMap<ModuleMacro*, unsigned> Visits; in WritePreprocessor()
|
D | ASTReader.cpp | 2160 llvm::SmallVector<ModuleMacro*, 8> Overrides; in resolvePendingMacro()
|