summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-08-02 19:38:18 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-08-02 19:38:18 +0000
commitdfd5fadcf20059df77478c658037e14162f43cb4 (patch)
tree7318afa27ddececb3ccd1fdb60e9dbf487323eb4
parent96545db374c2c495d9f791324601b5ae2514b46f (diff)
downloadbcm5719-llvm-dfd5fadcf20059df77478c658037e14162f43cb4.tar.gz
bcm5719-llvm-dfd5fadcf20059df77478c658037e14162f43cb4.zip
Unbreak build after r338758: specify lambda return type explicitly
llvm-svn: 338760
-rw-r--r--llvm/lib/Support/APInt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index d994441d0c8..1b09a0071df 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -2781,7 +2781,7 @@ llvm::APIntOps::SolveQuadraticEquationWrap(APInt A, APInt B, APInt C,
APInt SqrB = B * B;
bool PickLow;
- auto RoundUp = [] (const APInt &V, const APInt &A) {
+ auto RoundUp = [] (const APInt &V, const APInt &A) -> APInt {
assert(A.isStrictlyPositive());
APInt T = V.abs().urem(A);
if (T.isNullValue())
OpenPOWER on IntegriCloud