r217955 - Basic: whitespace fixup for ARM target info

Saleem Abdulrasool compnerd at compnerd.org
Wed Sep 17 07:50:20 PDT 2014


Author: compnerd
Date: Wed Sep 17 09:50:19 2014
New Revision: 217955

URL: http://llvm.org/viewvc/llvm-project?rev=217955&view=rev
Log:
Basic: whitespace fixup for ARM target info

Fix whitespace.  NFC.

Modified:
    cfe/trunk/lib/Basic/Targets.cpp

Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=217955&r1=217954&r2=217955&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Sep 17 09:50:19 2014
@@ -3972,9 +3972,8 @@ public:
 
     StringRef CPUArch = getCPUDefineSuffix(CPU);
     unsigned int CPUArchVer;
-    if(CPUArch.substr(0, 1).getAsInteger<unsigned int>(10, CPUArchVer)) {
+    if (CPUArch.substr(0, 1).getAsInteger<unsigned int>(10, CPUArchVer))
       llvm_unreachable("Invalid char for architecture version number");
-    }
     Builder.defineMacro("__ARM_ARCH_" + CPUArch + "__");
 
     // ACLE 6.4.1 ARM/Thumb instruction set architecture





More information about the cfe-commits mailing list