Lines Matching refs:PLoc
674 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, in emitDiagnosticMessage() argument
681 emitDiagnosticLoc(Loc, PLoc, Level, Ranges); in emitDiagnosticMessage()
794 void TextDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticLoc() argument
797 if (PLoc.isInvalid()) { in emitDiagnosticLoc()
808 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc()
816 emitFilename(PLoc.getFilename(), Loc.getManager()); in emitDiagnosticLoc()
829 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc()
899 void TextDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) { in emitIncludeLocation() argument
900 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitIncludeLocation()
901 OS << "In file included from " << PLoc.getFilename() << ':' in emitIncludeLocation()
902 << PLoc.getLine() << ":\n"; in emitIncludeLocation()
907 void TextDiagnostic::emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, in emitImportLocation() argument
909 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitImportLocation()
911 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n"; in emitImportLocation()
917 PresumedLoc PLoc, in emitBuildingModuleLocation() argument
919 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitBuildingModuleLocation()
921 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n"; in emitBuildingModuleLocation()
1342 PresumedLoc PLoc = SM.getPresumedLoc(BLoc); in emitParseableFixits() local
1343 if (PLoc.isInvalid()) in emitParseableFixits()
1347 OS.write_escaped(PLoc.getFilename()); in emitParseableFixits()