[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:13 PDT 2025


================
@@ -8976,7 +9043,7 @@ inline bool Type::isScalarType() const {
          isa<MemberPointerType>(CanonicalType) ||
          isa<ComplexType>(CanonicalType) ||
          isa<ObjCObjectPointerType>(CanonicalType) ||
-         isBitIntType();
+         isa<OverflowBehaviorType>(CanonicalType) || isBitIntType();
----------------
JustinStitt wrote:

fixed with 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