Searched refs:MacroDefinitionRecord (Results 1 – 14 of 14) sorted by relevance
/external/clang/include/clang/Lex/ |
D | PreprocessingRecord.h | 43 class MacroDefinitionRecord; variable 136 class MacroDefinitionRecord : public PreprocessingDirective { 141 explicit MacroDefinitionRecord(const IdentifierInfo *Name, in MacroDefinitionRecord() function 161 llvm::PointerUnion<IdentifierInfo *, MacroDefinitionRecord *> NameOrDef; 168 MacroExpansion(MacroDefinitionRecord *Definition, SourceRange Range) in MacroExpansion() 177 if (MacroDefinitionRecord *Def = getDefinition()) in getName() 184 MacroDefinitionRecord *getDefinition() const { in getDefinition() 185 return NameOrDef.dyn_cast<MacroDefinitionRecord *>(); in getDefinition() 332 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *> MacroDefinitions; 363 void RegisterMacroDefinition(MacroInfo *Macro, MacroDefinitionRecord *Def); [all …]
|
/external/clang/tools/libclang/ |
D | CIndexer.h | 33 class MacroDefinitionRecord; variable 109 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef, 115 MacroDefinitionRecord *checkForMacroInMacroDefinition(const MacroInfo *MI, 122 MacroDefinitionRecord *checkForMacroInMacroDefinition(const MacroInfo *MI,
|
D | CXCursor.h | 33 class MacroDefinitionRecord; variable 148 CXCursor MakeMacroDefinitionCursor(const MacroDefinitionRecord *, 153 const MacroDefinitionRecord *getCursorMacroDefinition(CXCursor C); 160 CXCursor MakeMacroExpansionCursor(MacroDefinitionRecord *, SourceLocation Loc, 174 const MacroDefinitionRecord *getAsMacroDefinition() const { in getAsMacroDefinition() 176 return static_cast<const MacroDefinitionRecord *>(C.data[0]); in getAsMacroDefinition() 193 const MacroDefinitionRecord *getDefinition() const;
|
D | CXCursor.cpp | 816 CXCursor cxcursor::MakeMacroDefinitionCursor(const MacroDefinitionRecord *MI, in MakeMacroDefinitionCursor() 822 const MacroDefinitionRecord *cxcursor::getCursorMacroDefinition(CXCursor C) { in getCursorMacroDefinition() 824 return static_cast<const MacroDefinitionRecord *>(C.data[0]); in getCursorMacroDefinition() 833 CXCursor cxcursor::MakeMacroExpansionCursor(MacroDefinitionRecord *MI, in MakeMacroExpansionCursor() 846 const MacroDefinitionRecord * 1360 const MacroDefinitionRecord *definition = getCursorMacroDefinition(cursor); in clang_getCursorCompletionString()
|
D | CIndex.cpp | 459 if (MacroDefinitionRecord *MD = dyn_cast<MacroDefinitionRecord>(PPE)) { in visitPreprocessedEntities() 571 if (MacroDefinitionRecord *MacroDef = in VisitChildren() 3402 if (const MacroDefinitionRecord *MDR = getCursorMacroDefinition(C)) in getMacroIdentifier() 5509 if (const MacroDefinitionRecord *Def = in clang_getCursorReferenced() 6682 MacroDefinitionRecord *MacroDef = in annotatePreprocessorTokens() 7855 const MacroInfo *cxindex::getMacroInfo(const MacroDefinitionRecord *MacroDef, in getMacroInfo() 7866 MacroDefinitionRecord * 7907 MacroDefinitionRecord *
|
/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 249 if (isa<MacroDefinitionRecord>(Entity)) { in addPreprocessedEntity() 322 MacroDefinitionRecord *Def) { in RegisterMacroDefinition() 359 MacroDefinitionRecord * 361 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *>::iterator Pos = in findMacroDefinition() 379 else if (MacroDefinitionRecord *Def = findMacroDefinition(MI)) in addMacroExpansion() 423 MacroDefinitionRecord *Def = in MacroDefined() 424 new (*this) MacroDefinitionRecord(Id.getIdentifierInfo(), R); in MacroDefined()
|
/external/clang/include/clang/Index/ |
D | USRGeneration.h | 18 class MacroDefinitionRecord; variable 55 bool generateUSRForMacro(const MacroDefinitionRecord *MD,
|
/external/clang/include/clang/Serialization/ |
D | ASTDeserializationListener.h | 26 class MacroDefinitionRecord; variable 52 MacroDefinitionRecord *MD) {} in MacroDefinitionRead()
|
D | ASTWriter.h | 54 class MacroDefinitionRecord; variable 301 llvm::DenseMap<const MacroDefinitionRecord *, 666 MacroDefinitionRecord *MD) override;
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 41 MacroDefinitionRecord *MD) override; 90 serialization::PreprocessedEntityID ID, MacroDefinitionRecord *MD) { in MacroDefinitionRead()
|
D | FrontendAction.cpp | 74 MacroDefinitionRecord *MD) override { in MacroDefinitionRead()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 886 bool clang::index::generateUSRForMacro(const MacroDefinitionRecord *MD, in generateUSRForMacro()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 1496 MacroDefinitionRecord *PPDef = cast_or_null<MacroDefinitionRecord>( in ReadMacroRecord() 4909 MacroDefinitionRecord *Def = nullptr; in ReadPreprocessedEntity() 4915 Def = cast<MacroDefinitionRecord>( in ReadPreprocessedEntity() 4932 MacroDefinitionRecord *MD = new (PPRec) MacroDefinitionRecord(II, Range); in ReadPreprocessedEntity()
|
D | ASTWriter.cpp | 2353 if (auto *MD = dyn_cast<MacroDefinitionRecord>(*E)) { in WritePreprocessorDetail() 5629 MacroDefinitionRecord *MD) { in MacroDefinitionRead()
|