Lines Matching refs:Loc
164 FullSourceLoc Loc;
168 : K(kind), SM(&sm), Loc(genLocation(L)), Range(genRange()) {}
186 Loc(genLocation(SourceLocation(), lac)), Range(genRange(lac)) {
188 assert(K == SingleLocK || Loc.isValid());
194 : K(DeclK), D(d), SM(&sm), Loc(genLocation()), Range(genRange()) {
196 assert(Loc.isValid());
204 : SM(&sm), Loc(loc, sm), Range(genRange()) {
205 assert(Loc.isValid());
290 return K == X.K && Loc == X.Loc && Range == X.Range;
302 return Loc;
736 /// Loc The location of the path diagnostic report.
737 PathDiagnosticLocation Loc;
783 assert(!Loc.isValid() && "End location already set!");
784 Loc = EndPiece->getLocation();
785 assert(Loc.isValid() && "Invalid location for end-of-path piece");
829 return Loc;
833 Loc = NewLoc;
847 Loc.flatten();