================ @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits