[clang] [Clang] fix range calculation for conditionals with throw expressions (PR #112081)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 13:47:00 PDT 2024


================
@@ -9827,6 +9827,9 @@ static IntRange GetExprRange(ASTContext &C, const Expr *E, unsigned MaxWidth,
     return IntRange(BitField->getBitWidthValue(C),
                     BitField->getType()->isUnsignedIntegerOrEnumerationType());
 
----------------
shafik wrote:

I think that makes more sense now, can you add some of these details to the summary please.

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


More information about the cfe-commits mailing list