Lines Matching defs:ArgLoc
303 SourceLocation ArgLoc, MacroLoc;
304 if (!getMacroAndArgLocations(CastLoc, ArgLoc, MacroLoc))
332 /// These results are returned via \c MacroLoc and \c ArgLoc respectively.
337 bool getMacroAndArgLocations(SourceLocation Loc, SourceLocation &ArgLoc,
341 ArgLoc = Loc;
345 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(ArgLoc);
349 SourceLocation OldArgLoc = ArgLoc;
350 ArgLoc = Expansion.getExpansionLocStart();
360 MacroLoc = SM.getExpansionRange(ArgLoc).getBegin();
362 ArgLoc = Expansion.getSpellingLoc().getLocWithOffset(LocInfo.second);
363 if (ArgLoc.isFileID())
369 if (SM.isInFileID(ArgLoc, MacroFID)) {