File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,9 @@ std::unique_ptr<GCStrategy> llvm::getGCStrategy(const StringRef Name) {
41
41
// be the builtin GCs if nothing else. The most likely scenario here is
42
42
// that we got here without running the initializers used by the Registry
43
43
// itself and it's registration mechanism.
44
- const std::string error =
45
- std::string (" unsupported GC: " ) + Name.str () +
46
- " (did you remember to link and initialize the library?)" ;
47
- report_fatal_error (Twine (error));
44
+ report_fatal_error (
45
+ " unsupported GC: " + Name +
46
+ " (did you remember to link and initialize the library?)" );
48
47
} else
49
- report_fatal_error (Twine (std::string ( " unsupported GC: " ) + Name. str ()) );
48
+ report_fatal_error (Twine (" unsupported GC: " ) + Name);
50
49
}
You can’t perform that action at this time.
0 commit comments