Fixing some build bot failures from r345628; NFC intended.

llvm-svn: 345630
This commit is contained in:
Aaron Ballman 2018-10-30 19:06:58 +00:00
parent 511bff21b4
commit 8ba32d08f7
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static std::string percentEncodeURICharacter(char C) {
}
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);