[clang] [analyzer] Fix crash in BasicValueFactory.cpp with __int128_t integers (PR #67212)

via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 03:39:55 PDT 2023


================
@@ -275,6 +275,9 @@ BasicValueFactory::evalAPSInt(BinaryOperator::Opcode Op,
       if (V2.isSigned() && V2.isNegative())
         return nullptr;
 
+      if (V2.getBitWidth() > 64)
----------------
vabridgers wrote:

Will do, thanks

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


More information about the cfe-commits mailing list