[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)
Oliver Hunt via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 24 14:02:24 PDT 2025
================
@@ -339,6 +389,8 @@ ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty,
<< "' " << Values << ")";
return DecoratedString;
}
+
+ TryConvertOverflowBehaviorTypeToDiagnosticString(Context, Ty, S);
----------------
ojhunt wrote:
Assuming the existence of the narrowing behavior I think that this burns the keywords for a non-narrowing overflow behaviour selection that I believe is more useful, adoptable, and lines up with what I have heard many many developers ask for.
I recognize that the RFC approved these semantics, but I don't think these semantics are useful enough to burn these basic keywords, and I don't believe these keywords accurately represent their semantics.
https://github.com/llvm/llvm-project/pull/148914
More information about the lldb-commits
mailing list