Lines Matching refs:PLoc
676 PresumedLoc PLoc,
686 emitDiagnosticLoc(Loc, PLoc, Level, Ranges, *SM);
773 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
777 if (PLoc.isInvalid()) {
791 unsigned LineNo = PLoc.getLine();
799 OS << PLoc.getFilename();
808 if (unsigned ColNo = PLoc.getColumn()) {
876 PresumedLoc PLoc,
878 if (DiagOpts->ShowLocation && PLoc.getFilename())
879 OS << "In file included from " << PLoc.getFilename() << ':'
880 << PLoc.getLine() << ":\n";
885 void TextDiagnostic::emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
888 if (DiagOpts->ShowLocation && PLoc.getFilename())
890 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
896 PresumedLoc PLoc,
899 if (DiagOpts->ShowLocation && PLoc.getFilename())
901 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
1247 PresumedLoc PLoc = SM.getPresumedLoc(BLoc);
1248 if (PLoc.isInvalid())
1252 OS.write_escaped(PLoc.getFilename());