[clang] [Clang] Add wraps attribute (for granular integer overflow handling) (PR #86618)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 10 15:33:13 PDT 2024
================
@@ -4077,6 +4077,9 @@ class BinaryOperator : public Expr {
static unsigned sizeOfTrailingObjects(bool HasFPFeatures) {
return HasFPFeatures * sizeof(FPOptionsOverride);
}
+
+ /// Do one of the subexpressions have the wraps attribute?
+ bool oneOfWraps(const ASTContext &Ctx) const;
----------------
JustinStitt wrote:
Hi, fixed with 5e6d926532c2cff3288f25e9b8f872e7f2ec9b65
https://github.com/llvm/llvm-project/pull/86618
More information about the cfe-commits
mailing list