Home
last modified time | relevance | path

Searched refs:MacroDefinition (Results 1 – 13 of 13) sorted by relevance

/external/clang/tools/libclang/
DCIndexer.h30 class MacroDefinition; variable
99 const MacroInfo *getMacroInfo(const MacroDefinition *MacroDef,
105 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI,
112 MacroDefinition *checkForMacroInMacroDefinition(const MacroInfo *MI,
DCXCursor.h33 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;
DCXCursor.cpp679 CXCursor cxcursor::MakeMacroDefinitionCursor(const MacroDefinition *MI, in MakeMacroDefinitionCursor()
685 const MacroDefinition *cxcursor::getCursorMacroDefinition(CXCursor C) { in getCursorMacroDefinition()
687 return static_cast<const MacroDefinition *>(C.data[0]); in getCursorMacroDefinition()
696 CXCursor cxcursor::MakeMacroExpansionCursor(MacroDefinition *MI, in MakeMacroExpansionCursor()
709 const MacroDefinition *cxcursor::MacroExpansionCursor::getDefinition() const { in getDefinition()
1088 const MacroDefinition *definition = getCursorMacroDefinition(cursor); in clang_getCursorCompletionString()
DCIndex.cpp439 if (MacroDefinition *MD = dyn_cast<MacroDefinition>(PPE)) { in visitPreprocessedEntities()
548 if (MacroDefinition *MacroDef = in VisitChildren()
4427 if (const MacroDefinition *Def = getCursorMacroExpansion(C).getDefinition()) in clang_getCursorReferenced()
5570 MacroDefinition *MacroDef = checkForMacroInMacroDefinition(MI,Tok,TU); in annotatePreprocessorTokens()
6520 const MacroInfo *cxindex::getMacroInfo(const MacroDefinition *MacroDef, in getMacroInfo()
6531 MacroDefinition *cxindex::checkForMacroInMacroDefinition(const MacroInfo *MI, in checkForMacroInMacroDefinition()
6573 MacroDefinition *cxindex::checkForMacroInMacroDefinition(const MacroInfo *MI, in checkForMacroInMacroDefinition()
/external/clang/include/clang/Lex/
DPreprocessingRecord.h42 class MacroDefinition; variable
137 class MacroDefinition : public PreprocessingDirective {
142 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range) in MacroDefinition() function
161 llvm::PointerUnion<IdentifierInfo *, MacroDefinition *> NameOrDef;
168 MacroExpansion(MacroDefinition *Definition, SourceRange Range) in MacroExpansion()
177 if (MacroDefinition *Def = getDefinition()) in getName()
184 MacroDefinition *getDefinition() const { in getDefinition()
185 return NameOrDef.dyn_cast<MacroDefinition *>(); in getDefinition()
329 llvm::DenseMap<const MacroInfo *, MacroDefinition *> MacroDefinitions;
360 void RegisterMacroDefinition(MacroInfo *Macro, MacroDefinition *Def);
[all …]
/external/clang/include/clang/Serialization/
DASTDeserializationListener.h25 class MacroDefinition; variable
53 MacroDefinition *MD) { } in MacroDefinitionRead()
DASTWriter.h52 class MacroDefinition; variable
283 llvm::DenseMap<const MacroDefinition *, serialization::PreprocessedEntityID>
718 MacroDefinition *MD);
DASTReader.h74 class MacroDefinition; variable
/external/clang/lib/Lex/
DPreprocessingRecord.cpp251 if (isa<MacroDefinition>(Entity)) { in addPreprocessedEntity()
323 MacroDefinition *Def) { in RegisterMacroDefinition()
360 MacroDefinition *PreprocessingRecord::findMacroDefinition(const MacroInfo *MI) { in findMacroDefinition()
361 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos in findMacroDefinition()
379 else if (MacroDefinition *Def = findMacroDefinition(MI)) in addMacroExpansion()
419 MacroDefinition *Def in MacroDefined()
420 = new (*this) MacroDefinition(Id.getIdentifierInfo(), R); in MacroDefined()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp40 MacroDefinition *MD);
81 serialization::PreprocessedEntityID ID, MacroDefinition *MD) { in MacroDefinitionRead()
DFrontendAction.cpp67 MacroDefinition *MD) { in MacroDefinitionRead()
/external/clang/lib/Serialization/
DASTReader.cpp1204 MacroDefinition *PPDef = in ReadMacroRecord()
1205 cast_or_null<MacroDefinition>(PPRec.getPreprocessedEntity(PPID)); in ReadMacroRecord()
4173 MacroDefinition *Def = 0; in ReadPreprocessedEntity()
4179 Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1)); in ReadPreprocessedEntity()
4195 MacroDefinition *MD in ReadPreprocessedEntity()
4196 = new (PPRec) MacroDefinition(II, Range); in ReadPreprocessedEntity()
DASTWriter.cpp2134 if (MacroDefinition *MD = dyn_cast<MacroDefinition>(*E)) { in WritePreprocessorDetail()
5189 MacroDefinition *MD) { in MacroDefinitionRead()