aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/TargetRegistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/TargetRegistry.cpp')
-rw-r--r--llvm/lib/MC/TargetRegistry.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/MC/TargetRegistry.cpp b/llvm/lib/MC/TargetRegistry.cpp
index fa7aaccabcd6..0aa48916c7d2 100644
--- a/llvm/lib/MC/TargetRegistry.cpp
+++ b/llvm/lib/MC/TargetRegistry.cpp
@@ -49,9 +49,8 @@ const Target *TargetRegistry::lookupTarget(StringRef ArchName,
std::string TempError;
TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError);
if (!TheTarget) {
- Error = "unable to get target for '"
- + TheTriple.getTriple()
- + "', see --version and --triple.\n";
+ Error = "unable to get target for '" + TheTriple.getTriple() +
+ "', see --version and --triple.";
return nullptr;
}
}