We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c01b31 commit 411997cCopy full SHA for 411997c
llvm/include/llvm/ADT/APInt.h
@@ -2234,12 +2234,12 @@ inline const APInt &umax(const APInt &A, const APInt &B) {
2234
}
2235
2236
/// Determine the absolute difference of two APInts considered to be signed.
2237
-inline const APInt abds(const APInt &A, const APInt &B) {
+inline APInt abds(const APInt &A, const APInt &B) {
2238
return A.sge(B) ? (A - B) : (B - A);
2239
2240
2241
/// Determine the absolute difference of two APInts considered to be unsigned.
2242
-inline const APInt abdu(const APInt &A, const APInt &B) {
+inline APInt abdu(const APInt &A, const APInt &B) {
2243
return A.uge(B) ? (A - B) : (B - A);
2244
2245
0 commit comments