Lines Matching defs:PLoc
664 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level,
671 emitDiagnosticLoc(Loc, PLoc, Level, Ranges);
784 void TextDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
787 if (PLoc.isInvalid()) {
797 unsigned LineNo = PLoc.getLine();
805 emitFilename(PLoc.getFilename(), Loc.getManager());
818 if (unsigned ColNo = PLoc.getColumn()) {
883 void TextDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) {
884 if (DiagOpts->ShowLocation && PLoc.isValid()) {
886 emitFilename(PLoc.getFilename(), Loc.getManager());
887 OS << ':' << PLoc.getLine() << ":\n";
892 void TextDiagnostic::emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
894 if (DiagOpts->ShowLocation && PLoc.isValid())
896 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
902 PresumedLoc PLoc,
904 if (DiagOpts->ShowLocation && PLoc.isValid())
906 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
1533 PresumedLoc PLoc = SM.getPresumedLoc(BLoc);
1534 if (PLoc.isInvalid())
1538 OS.write_escaped(PLoc.getFilename());