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

We should perhaps reconsider the spelling then.

Note this is not easy to get right, for example if the function above has to do 
something special about PointerType, why wouldn't it have to do anything 
special about ReferenceTypes, and the other strange things we have to support, 
like objective-c block pointers?

https://github.com/llvm/llvm-project/pull/148914
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to