[all-commits] [llvm/llvm-project] 1fab5b: [Clang] Fix constexpr inc/dec operators for Overfl...
Justin Stitt via All-commits
all-commits at lists.llvm.org
Fri Mar 6 09:22:10 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1fab5b65dc3f1616cbf58bb4696cf0dc5b8d522a
https://github.com/llvm/llvm-project/commit/1fab5b65dc3f1616cbf58bb4696cf0dc5b8d522a
Author: Justin Stitt <justinstitt at google.com>
Date: 2026-03-06 (Fri, 06 Mar 2026)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/test/Sema/attr-overflow-behavior-constexpr.cpp
Log Message:
-----------
[Clang] Fix constexpr inc/dec operators for OverflowBehaviorTypes (#183826)
__ob_wrap types were not being handled properly by constexpr pre/post-inc/dec operations causing static_asserts() to fail unexpectedly. Fix those by checking if we're dealing with an OBT wrap type specifically.
Fixes: #183760
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list