[WebAssembly] clang-format CallingConvSupported. NFC.
authorDan Gohman <dan433584@gmail.com>
Fri, 4 Dec 2015 17:18:32 +0000 (17:18 +0000)
committerDan Gohman <dan433584@gmail.com>
Fri, 4 Dec 2015 17:18:32 +0000 (17:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254729 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/WebAssemblyISelLowering.cpp

index 79d7cbb..b651855 100644 (file)
@@ -258,12 +258,10 @@ static void fail(SDLoc DL, SelectionDAG &DAG, const char *msg) {
 }
 
 // Test whether the given calling convention is supported.
-static bool
-CallingConvSupported(CallingConv::ID CallConv) {
+static bool CallingConvSupported(CallingConv::ID CallConv) {
   // We currently support the language-independent target-independent
   // conventions.
-  return CallConv == CallingConv::C ||
-         CallConv == CallingConv::Fast ||
+  return CallConv == CallingConv::C || CallConv == CallingConv::Fast ||
          CallConv == CallingConv::Cold;
 }