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

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 22 19:56: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();
----------------
mizvekov wrote:

?

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


More information about the cfe-commits mailing list