diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-08-02 19:38:18 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-08-02 19:38:18 +0000 |
commit | dfd5fadcf20059df77478c658037e14162f43cb4 (patch) | |
tree | 7318afa27ddececb3ccd1fdb60e9dbf487323eb4 /llvm/lib | |
parent | 96545db374c2c495d9f791324601b5ae2514b46f (diff) | |
download | bcm5719-llvm-dfd5fadcf20059df77478c658037e14162f43cb4.tar.gz bcm5719-llvm-dfd5fadcf20059df77478c658037e14162f43cb4.zip |
Unbreak build after r338758: specify lambda return type explicitly
llvm-svn: 338760
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Support/APInt.cpp | 2 |
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()) |