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

Justin Stitt via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 19 12:35:30 PDT 2025


================
@@ -339,6 +389,8 @@ ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty,
          << "' " << Values << ")";
       return DecoratedString;
     }
+
+    TryConvertOverflowBehaviorTypeToDiagnosticString(Context, Ty, S);
----------------
JustinStitt wrote:

> If you feel the full attribute syntax is too ugly to print in diagnostics, it's probably too ugly to type in source code anyway :)

I suppose I expected most immediate users of this feature to define a macro for it.


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


More information about the cfe-commits mailing list