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

Matheus Izvekov via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 19 12:59:47 PDT 2025


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

If you would like to proceed with the __attribute__ spelling anyway, that's okay.

I guess you have the ext_vector precedent, even though I don't particularly like that.

I just don't think the current approach of producing these shorthand notations is workable, if it has to handle all the complexities of how these types can be nested in other types.

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


More information about the lldb-commits mailing list