diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-01-28 22:55:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-01-28 22:55:45 +0000 |
commit | 26e65817faf6cf4dae494bfa466523fe3efa3fa8 (patch) | |
tree | 06baca87dbc680abbd3667fa32d5507b0fbccc0e | |
parent | 2d8a2aa60a941b23453151da3bd6650e46c0bbf6 (diff) | |
download | bcm5719-llvm-26e65817faf6cf4dae494bfa466523fe3efa3fa8.tar.gz bcm5719-llvm-26e65817faf6cf4dae494bfa466523fe3efa3fa8.zip |
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
-rw-r--r-- | llvm/lib/Support/TargetRegistry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/TargetRegistry.cpp b/llvm/lib/Support/TargetRegistry.cpp index eefef8ad8ea..02a6d334b91 100644 --- a/llvm/lib/Support/TargetRegistry.cpp +++ b/llvm/lib/Support/TargetRegistry.cpp @@ -73,8 +73,7 @@ const Target *TargetRegistry::lookupTarget(const std::string &TT, 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; } |