Lines Matching defs:RLoc
434 void addAngleBracketTokens(SourceLocation LLoc, SourceLocation RLoc) {
435 if (!LLoc.isValid() || !RLoc.isValid())
442 // RLoc might be pointing at a virtual buffer when it's part of a `>>`
444 RLoc = SourceMgr.getFileLoc(RLoc);
446 RLoc = getHighlightableSpellingToken(RLoc, SourceMgr);
447 if (!RLoc.isValid())
450 const auto *RTok = TB.spelledTokenContaining(RLoc);
451 // Handle `>>`. RLoc is either part of `>>` or a spelled token on its own
455 Position Begin = sourceLocToPosition(SourceMgr, RLoc);
456 Position End = sourceLocToPosition(SourceMgr, RLoc.getLocWithOffset(1));
464 if (auto RRange = getRangeForSourceLocation(RLoc)) {