diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2019-06-07 20:52:17 +0000 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2019-06-07 20:52:17 +0000 |
| commit | 20361de879dca8e20e24eb6eb50c4a568f800102 (patch) | |
| tree | f341fd99acf44654121782bf9e1941cef2d25824 | |
| parent | 61f7df54e3ba58b6ea869b4523f3ffdae42ea80e (diff) | |
| download | bcm5719-llvm-20361de879dca8e20e24eb6eb50c4a568f800102.tar.gz bcm5719-llvm-20361de879dca8e20e24eb6eb50c4a568f800102.zip | |
[llvm-lipo] Drop unneeded braces. NFC
llvm-svn: 362841
| -rw-r--r-- | llvm/tools/llvm-lipo/llvm-lipo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/llvm-lipo/llvm-lipo.cpp b/llvm/tools/llvm-lipo/llvm-lipo.cpp index 3cd3ad53a6f..0dcbf1d1abf 100644 --- a/llvm/tools/llvm-lipo/llvm-lipo.cpp +++ b/llvm/tools/llvm-lipo/llvm-lipo.cpp @@ -207,12 +207,11 @@ static void printArchOrUnknown(const MachOObjectFile *ObjectFile) { // Prints trailing space and unknown in this format for compatibility with // cctools lipo. const std::string ObjectArch = ObjectFile->getArchTriple().getArchName(); - if (ObjectArch.empty()) { + if (ObjectArch.empty()) outs() << "unknown(" << ObjectFile->getHeader().cputype << "," << ObjectFile->getHeader().cpusubtype << ") "; - } else { + else outs() << ObjectArch + " "; - } } LLVM_ATTRIBUTE_NORETURN |

