/external/clang/include/clang/Lex/ |
D | PreprocessingRecord.h | 43 class MacroDefinition; variable 138 class MacroDefinition : public PreprocessingDirective { 143 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range) in MacroDefinition() function 162 llvm::PointerUnion<IdentifierInfo *, MacroDefinition *> NameOrDef; 169 MacroExpansion(MacroDefinition *Definition, SourceRange Range) in MacroExpansion() 178 if (MacroDefinition *Def = getDefinition()) in getName() 185 MacroDefinition *getDefinition() const { in getDefinition() 186 return NameOrDef.dyn_cast<MacroDefinition *>(); in getDefinition() 333 llvm::DenseMap<const MacroInfo *, MacroDefinition *> MacroDefinitions; 364 void RegisterMacroDefinition(MacroInfo *Macro, MacroDefinition *Def); [all …]
|
/external/clang/tools/libclang/ |
D | CIndexer.h | 30 class MacroDefinition; variable 99 const MacroInfo *getMacroInfo(const MacroDefinition *MacroDef, 105 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI, 112 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI,
|
D | CXCursor.h | 33 class MacroDefinition; variable 148 CXCursor MakeMacroDefinitionCursor(const MacroDefinition *, 153 const MacroDefinition *getCursorMacroDefinition(CXCursor C); 161 CXCursor MakeMacroExpansionCursor(MacroDefinition *, SourceLocation Loc, 177 const MacroDefinition *getAsMacroDefinition() const { in getAsMacroDefinition() 179 return static_cast<const MacroDefinition *>(C.data[0]); in getAsMacroDefinition() 196 const MacroDefinition *getDefinition() const;
|
D | CXCursor.cpp | 753 CXCursor cxcursor::MakeMacroDefinitionCursor(const MacroDefinition *MI, in MakeMacroDefinitionCursor() 759 const MacroDefinition *cxcursor::getCursorMacroDefinition(CXCursor C) { in getCursorMacroDefinition() 761 return static_cast<const MacroDefinition *>(C.data[0]); in getCursorMacroDefinition() 770 CXCursor cxcursor::MakeMacroExpansionCursor(MacroDefinition *MI, in MakeMacroExpansionCursor() 783 const MacroDefinition *cxcursor::MacroExpansionCursor::getDefinition() const { in getDefinition() 1296 const MacroDefinition *definition = getCursorMacroDefinition(cursor); in clang_getCursorCompletionString()
|
D | CIndex.cpp | 461 if (MacroDefinition *MD = dyn_cast<MacroDefinition>(PPE)) { in visitPreprocessedEntities() 571 if (MacroDefinition *MacroDef = in VisitChildren() 4892 if (const MacroDefinition *Def = getCursorMacroExpansion(C).getDefinition()) in clang_getCursorReferenced() 6067 MacroDefinition *MacroDef = checkForMacroInMacroDefinition(MI,Tok,TU); in annotatePreprocessorTokens() 7159 const MacroInfo *cxindex::getMacroInfo(const MacroDefinition *MacroDef, in getMacroInfo() 7170 MacroDefinition *cxindex::checkForMacroInMacroDefinition(const MacroInfo *MI, in checkForMacroInMacroDefinition() 7211 MacroDefinition *cxindex::checkForMacroInMacroDefinition(const MacroInfo *MI, in checkForMacroInMacroDefinition()
|
/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 249 if (isa<MacroDefinition>(Entity)) { in addPreprocessedEntity() 321 MacroDefinition *Def) { in RegisterMacroDefinition() 358 MacroDefinition *PreprocessingRecord::findMacroDefinition(const MacroInfo *MI) { in findMacroDefinition() 359 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos in findMacroDefinition() 377 else if (MacroDefinition *Def = findMacroDefinition(MI)) in addMacroExpansion() 421 MacroDefinition *Def in MacroDefined() 422 = new (*this) MacroDefinition(Id.getIdentifierInfo(), R); in MacroDefined()
|
/external/clang/include/clang/Index/ |
D | USRGeneration.h | 18 class MacroDefinition; variable 55 bool generateUSRForMacro(const MacroDefinition *MD, const SourceManager &SM,
|
/external/clang/include/clang/Serialization/ |
D | ASTDeserializationListener.h | 26 class MacroDefinition; variable 52 MacroDefinition *MD) { } in MacroDefinitionRead()
|
D | ASTWriter.h | 52 class MacroDefinition; variable 287 llvm::DenseMap<const MacroDefinition *, serialization::PreprocessedEntityID> 830 MacroDefinition *MD) override;
|
D | ASTReader.h | 74 class MacroDefinition; variable
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 40 MacroDefinition *MD) override; 81 serialization::PreprocessedEntityID ID, MacroDefinition *MD) { in MacroDefinitionRead()
|
D | FrontendAction.cpp | 74 MacroDefinition *MD) override { in MacroDefinitionRead()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 850 bool clang::index::generateUSRForMacro(const MacroDefinition *MD, in generateUSRForMacro()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 1479 MacroDefinition *PPDef = in ReadMacroRecord() 1480 cast_or_null<MacroDefinition>(PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord() 4937 MacroDefinition *Def = nullptr; in ReadPreprocessedEntity() 4943 Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1)); in ReadPreprocessedEntity() 4959 MacroDefinition *MD in ReadPreprocessedEntity() 4960 = new (PPRec) MacroDefinition(II, Range); in ReadPreprocessedEntity()
|
D | ASTWriter.cpp | 2261 if (MacroDefinition *MD = dyn_cast<MacroDefinition>(*E)) { in WritePreprocessorDetail() 5799 MacroDefinition *MD) { in MacroDefinitionRead()
|