Lines Matching defs:MacroLoc
257 SourceLocation ImmediateMacroArgLoc, MacroLoc;
259 if (!getMacroAndArgLocations(StartLoc, ImmediateMacroArgLoc, MacroLoc) ||
303 SourceLocation ArgLoc, MacroLoc;
304 if (!getMacroAndArgLocations(CastLoc, ArgLoc, MacroLoc))
309 if (!findContainingAncestor(DynTypedNode::create<Stmt>(*CE), MacroLoc,
332 /// These results are returned via \c MacroLoc and \c ArgLoc respectively.
338 SourceLocation &MacroLoc) {
352 if (!MacroLoc.isFileID())
360 MacroLoc = SM.getExpansionRange(ArgLoc).getBegin();
368 FileID MacroFID = SM.getFileID(MacroLoc);
395 SourceLocation Loc = TestLoc, MacroLoc;
415 MacroLoc = SM.getImmediateExpansionRange(Loc).getBegin();
416 if (MacroLoc.isFileID() && MacroLoc == TestMacroLoc) {
433 /// doesn't expand from the macro called at file location \c MacroLoc.
435 /// \pre MacroLoc.isFileID()
437 bool findContainingAncestor(DynTypedNode Start, SourceLocation MacroLoc,
443 assert(MacroLoc.isFileID());
471 if (!expandsFrom(Loc, MacroLoc)) {