Lines Matching refs:PLoc
676 PresumedLoc PLoc, in emitDiagnosticMessage() argument
686 emitDiagnosticLoc(Loc, PLoc, Level, Ranges, *SM); in emitDiagnosticMessage()
773 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, in emitDiagnosticLoc() argument
777 if (PLoc.isInvalid()) { in emitDiagnosticLoc()
791 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc()
799 OS << PLoc.getFilename(); in emitDiagnosticLoc()
808 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc()
884 PresumedLoc PLoc, in emitIncludeLocation() argument
886 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitIncludeLocation()
887 OS << "In file included from " << PLoc.getFilename() << ':' in emitIncludeLocation()
888 << PLoc.getLine() << ":\n"; in emitIncludeLocation()
893 void TextDiagnostic::emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, in emitImportLocation() argument
896 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitImportLocation()
898 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n"; in emitImportLocation()
904 PresumedLoc PLoc, in emitBuildingModuleLocation() argument
907 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitBuildingModuleLocation()
909 << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n"; in emitBuildingModuleLocation()
1263 PresumedLoc PLoc = SM.getPresumedLoc(BLoc); in emitParseableFixits() local
1264 if (PLoc.isInvalid()) in emitParseableFixits()
1268 OS.write_escaped(PLoc.getFilename()); in emitParseableFixits()