Author: aaronballman Date: Tue Oct 30 12:06:58 2018 New Revision: 345630 URL: http://llvm.org/viewvc/llvm-project?rev=345630&view=rev Log: Fixing some build bot failures from r345628; NFC intended.
Modified: cfe/trunk/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp Modified: cfe/trunk/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp?rev=345630&r1=345629&r2=345630&view=diff ============================================================================== --- cfe/trunk/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp (original) +++ cfe/trunk/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp Tue Oct 30 12:06:58 2018 @@ -70,7 +70,7 @@ static std::string percentEncodeURIChara } static std::string fileNameToURI(StringRef Filename) { - llvm::SmallString<32> Ret = "file://"; + llvm::SmallString<32> Ret = StringRef("file://"); // Get the root name to see if it has a URI authority. StringRef Root = sys::path::root_name(Filename); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits