================
@@ -0,0 +1,36 @@
+// RUN: %clang_cc1 -Wconversion -fsyntax-only -verify %s
+
+typedef struct _xx {
+     int bf:9; // expected-note{{widen this field to 32 bits to store all 
values of 'int'}}
+     // expected-note@-1{{widen this field to 16 bits to store all values of 
'short'}}
----------------
vabridgers wrote:

Thanks @erichkeane, I'll iterate on improving the note. 

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

Reply via email to