================ @@ -167,17 +169,13 @@ template <bool Signed> class IntegralAP final { } static bool increment(IntegralAP A, IntegralAP *R) { - // FIXME: Implement. - assert(false); - *R = IntegralAP(A.V - 1); - return false; + IntegralAP<Signed> One(1, A.bitWidth()); ---------------- tbaederr wrote:
That doesn't work because `APInt` is not a literal type. https://github.com/llvm/llvm-project/pull/69597 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits