[llvm] r293410 - [Orc][RPC] Remove redundant braces. NFC.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 28 20:09:02 PST 2017
Author: lhames
Date: Sat Jan 28 22:09:01 2017
New Revision: 293410
URL: http://llvm.org/viewvc/llvm-project?rev=293410&view=rev
Log:
[Orc][RPC] Remove redundant braces. NFC.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h?rev=293410&r1=293409&r2=293410&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h Sat Jan 28 22:09:01 2017
@@ -1186,9 +1186,9 @@ public:
typename AltRetT = typename Func::ReturnType>
typename detail::ResultTraits<AltRetT>::ErrorReturnType
callB(const ArgTs &... Args) {
- if (auto FutureResOrErr = callNB<Func>(Args...)) {
+ if (auto FutureResOrErr = callNB<Func>(Args...))
return FutureResOrErr->get();
- } else
+ else
return FutureResOrErr.takeError();
}
More information about the llvm-commits
mailing list