Home | History | Annotate | Download | only in libclang

Lines Matching defs:Macro

132 /// \brief For a macro \arg Loc, returns the file spelling location and sets
133 /// to \arg isMacroArg whether the spelling resides inside a macro definition or
134 /// a macro argument.
203 // FIXME: For a macro definition make sure that all expansions
250 const IdentifierInfo *Macro;
254 const IdentifierInfo *Macro,
256 : Unit(Unit), File(File), Macro(Macro), visitor(visitor) { }
268 const IdentifierInfo *Macro = nullptr;
270 Macro = getCursorMacroDefinition(cursor)->getName();
272 Macro = getCursorMacroExpansion(cursor).getName();
273 if (!Macro)
277 if (data->Macro != Macro)
298 // FIXME: For a macro definition make sure that all expansions
320 const IdentifierInfo *Macro = nullptr;
322 Macro = getCursorMacroDefinition(Cursor)->getName();
324 Macro = getCursorMacroExpansion(Cursor).getName();
325 if (!Macro)
328 FindFileMacroRefVisitData data(*Unit, File, Macro, Visitor);