summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-12-04 17:18:32 +0000
committerDan Gohman <dan433584@gmail.com>2015-12-04 17:18:32 +0000
commita3f5ce5f1b7a7f68596aefe60a6eed09f1c45885 (patch)
tree822224e5979e18b5e6a5d1f46faf72ea1cfea131 /llvm/lib
parent85dbdda1ed303acd949aa01e44667062dfc778ca (diff)
downloadbcm5719-llvm-a3f5ce5f1b7a7f68596aefe60a6eed09f1c45885.tar.gz
bcm5719-llvm-a3f5ce5f1b7a7f68596aefe60a6eed09f1c45885.zip
[WebAssembly] clang-format CallingConvSupported. NFC.
llvm-svn: 254729
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index 79d7cbbefa2..b651855eea7 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@ -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;
}
OpenPOWER on IntegriCloud