================ @@ -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'}} ---------------- erichkeane wrote:
I'm questioning the usefulness of the usefulness of this note like this. I think it: 1- should point to the RHS expression of the assignment. 2- Should instead refer to the expression itself (particularly since the one online 7 has the different amount of bits). 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