Don't mention a command line option in an error.
The program using this code may not have it.
Patch by Wilfred Hughes.
llvm-svn: 259106
diff --git a/llvm/lib/Support/TargetRegistry.cpp b/llvm/lib/Support/TargetRegistry.cpp
index eefef8a..02a6d33 100644
--- a/llvm/lib/Support/TargetRegistry.cpp
+++ b/llvm/lib/Support/TargetRegistry.cpp
@@ -73,8 +73,7 @@
auto I = std::find_if(targets().begin(), targets().end(), ArchMatch);
if (I == targets().end()) {
- Error = "No available targets are compatible with this triple, "
- "see -version for the available targets.";
+ Error = "No available targets are compatible with this triple.";
return nullptr;
}