Home | History | Annotate | Download | only in libclang

Lines Matching refs:Macro

129 /// \brief For a macro \arg Loc, returns the file spelling location and sets
130 /// to \arg isMacroArg whether the spelling resides inside a macro definition or
131 /// a macro argument.
200 // FIXME: For a macro definition make sure that all expansions
248 const IdentifierInfo *Macro;
252 const IdentifierInfo *Macro,
254 : Unit(Unit), File(File), Macro(Macro), visitor(visitor) { }
266 const IdentifierInfo *Macro = 0;
268 Macro = getCursorMacroDefinition(cursor)->getName();
270 Macro = getCursorMacroExpansion(cursor)->getName();
271 if (!Macro)
275 if (data->Macro != Macro)
296 // FIXME: For a macro definition make sure that all expansions
317 const IdentifierInfo *Macro = 0;
319 Macro = getCursorMacroDefinition(Cursor)->getName();
321 Macro = getCursorMacroExpansion(Cursor)->getName();
322 if (!Macro)
325 FindFileMacroRefVisitData data(*Unit, File, Macro, Visitor);