mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 05:56:05 +00:00
Remove unnecessary newline from error message
I was writing a test that included this error and noticed the spurios newline that made writing the test more awkward.
This commit is contained in:
parent
c02b2ab8ab
commit
696eb3a55a
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user