Lines Matching full:loc
120 /// \brief 'Loc' is the end of a statement range. This returns the location
124 SourceLocation trans::findLocationAfterSemi(SourceLocation loc,
126 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx);
132 /// \brief \arg Loc is the end of a statement range. This returns the location
136 SourceLocation trans::findSemiAfterLocation(SourceLocation loc,
139 if (loc.isMacroID()) {
140 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc))
143 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts());
146 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);