Lines Matching full:loc
132 /// \brief For a macro \arg Loc, returns the file spelling location and sets
136 SourceLocation Loc,
138 assert(Loc.isMacroID());
139 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc);
143 isMacroArg = SM.isMacroArgExpansion(Loc);
183 Loc = cxloc::translateSourceLocation(clang_getCursorLocation(cursor));
186 Loc = SelIdLoc;
191 if (Loc.isMacroID()) {
193 Loc = getFileSpellingLoc(SM, Loc, isMacroArg);
198 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
209 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break)
281 Loc = cxloc::translateSourceLocation(clang_getCursorLocation(cursor));
286 if (Loc.isMacroID()) {
288 Loc = getFileSpellingLoc(SM, Loc, isMacroArg);
293 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
304 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break)
359 Loc = cxloc::translateSourceLocation(clang_getCursorLocation(cursor));
365 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
370 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break)