[llvm] r248086 - NFC: Fix indentation and add braces to clarify nested of else-statement.

Bob Wilson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 23:20:59 PDT 2015


Author: bwilson
Date: Sat Sep 19 01:20:59 2015
New Revision: 248086

URL: http://llvm.org/viewvc/llvm-project?rev=248086&view=rev
Log:
NFC: Fix indentation and add braces to clarify nested of else-statement.

Modified:
    llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=248086&r1=248085&r2=248086&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Sat Sep 19 01:20:59 2015
@@ -1854,8 +1854,9 @@ CCAssignFn *ARMFastISel::CCAssignFnForCa
         return (Return ? RetCC_ARM_AAPCS_VFP: CC_ARM_AAPCS_VFP);
       else
         return (Return ? RetCC_ARM_AAPCS: CC_ARM_AAPCS);
-    } else
-        return (Return ? RetCC_ARM_APCS: CC_ARM_APCS);
+    } else {
+      return (Return ? RetCC_ARM_APCS: CC_ARM_APCS);
+    }
   case CallingConv::ARM_AAPCS_VFP:
     if (!isVarArg)
       return (Return ? RetCC_ARM_AAPCS_VFP: CC_ARM_AAPCS_VFP);




More information about the llvm-commits mailing list