[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)
Matheus Izvekov via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 17 10:25:13 PDT 2025
================
@@ -9002,6 +9057,10 @@ inline bool Type::isIntegralOrEnumerationType() const {
if (const auto *ET = dyn_cast<EnumType>(CanonicalType))
return IsEnumDeclComplete(ET->getOriginalDecl());
+ if (const OverflowBehaviorType *OBT =
+ dyn_cast<OverflowBehaviorType>(CanonicalType))
----------------
mizvekov wrote:
Nit: we use auto when the type is already clearly visible.
```suggestion
if (const auto *OBT = dyn_cast<OverflowBehaviorType>(CanonicalType))
```
https://github.com/llvm/llvm-project/pull/148914
More information about the lldb-commits
mailing list