[clang] [clang][Interp] IntegralAP zero-init (PR #68081)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 05:29:32 PDT 2023


================
@@ -100,12 +100,13 @@ template <bool Signed> class IntegralAP final {
   }
   static IntegralAP from(const Boolean &B) {
     assert(false);
-    return IntegralAP::zero();
+    return IntegralAP::zero(1);
----------------
tbaederr wrote:

Removed that code in https://github.com/llvm/llvm-project/commit/66c99154a130553a50e499d898ef1fba5b755dcf.

https://github.com/llvm/llvm-project/pull/68081


More information about the cfe-commits mailing list