Lines Matching refs:PLoc
674 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level,
681 emitDiagnosticLoc(Loc, PLoc, Level, Ranges);
805 void TextDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
808 if (PLoc.isInvalid()) {
820 unsigned LineNo = PLoc.getLine();
828 emitFilename(PLoc.getFilename(), Loc.getManager());
837 if (unsigned ColNo = PLoc.getColumn()) {
906 void TextDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) {
907 if (DiagOpts->ShowLocation && PLoc.isValid())
908 OS << "In file included from " << PLoc.getFilename() << ':'
909 << PLoc.getLine() << ":\n";
914 void TextDiagnostic::emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
916 if (DiagOpts->ShowLocation && PLoc.isValid())
918 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
924 PresumedLoc PLoc,
926 if (DiagOpts->ShowLocation && PLoc.isValid())
928 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
1349 PresumedLoc PLoc = SM.getPresumedLoc(BLoc);
1350 if (PLoc.isInvalid())
1354 OS.write_escaped(PLoc.getFilename());