================ @@ -74,6 +74,13 @@ QualType clang::desugarForDiagnostic(ASTContext &Context, QualType QT, QT = AT->desugar(); continue; } + // ... or an overflow behavior type. + if (const OverflowBehaviorType *OBT = dyn_cast<OverflowBehaviorType>(Ty)) { + if (!OBT->isSugared()) + break; ---------------- mizvekov wrote:
OverflowBehaviorType is never a sugar node: ```suggestion ``` https://github.com/llvm/llvm-project/pull/148914 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits