diff --git a/llvm/lib/MC/TargetRegistry.cpp b/llvm/lib/MC/TargetRegistry.cpp index fa7aaccabcd61..0aa48916c7d25 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; } }