[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)
Justin Stitt via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 19 12:34:40 PDT 2025
================
@@ -339,6 +389,8 @@ ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty,
<< "' " << Values << ")";
return DecoratedString;
}
+
+ TryConvertOverflowBehaviorTypeToDiagnosticString(Context, Ty, S);
----------------
JustinStitt wrote:
OK, so should I drop this special handling and store it in a different branch for another time? FYI, if we go with pure attribute printing there will be a lot of churn in my tests as they all have the short-hand types.
BTW, I think we decided not to go with making `__wrap` and `__no_wrap` keywords as maybe some projects already use these from the preprocessor? I am not sure on any precedence between when to make something attribute-only v.s. when to introduce a keyword.
https://github.com/llvm/llvm-project/pull/148914
More information about the lldb-commits
mailing list