[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 11:50:06 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:
What expr is ending up in `GetExprRange` b/c it looks like the `E = E->IgnoreParens()` should do the job? Right?
https://github.com/llvm/llvm-project/pull/112081
More information about the cfe-commits
mailing list