[clang] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

Justin Stitt via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 25 15:54:22 PDT 2025


================
@@ -9120,6 +9191,8 @@ template <typename T> const T *Type::getAsAdjusted() const {
       Ty = A->getModifiedType().getTypePtr();
     else if (const auto *A = dyn_cast<BTFTagAttributedType>(Ty))
       Ty = A->getWrappedType().getTypePtr();
+    // else if (const auto *A = dyn_cast<OverflowBehaviorType>(Ty))
+    //   Ty = A->getWrappedType().getTypePtr();
----------------
JustinStitt wrote:

whoops. fixed in fixed with [`04af8bf`](https://github.com/llvm/llvm-project/pull/148914/commits/04af8bf6e9620c71673a435d3b2eebccd7db3682)

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


More information about the cfe-commits mailing list