================ @@ -0,0 +1,37 @@ +// RUN: %clang_cc1 -Wconversion -fsyntax-only -verify %s +// RUN: %clang_cc1 -Wbitfield-conversion -fsyntax-only -verify %s + +typedef struct _xx { + int bf:9; // expected-note{{declared here}} + // expected-note@-1{{declared here}} + // expected-note@-2{{declared here}} + // expected-note@-3{{declared here}} ---------------- AaronBallman wrote:
```suggestion int bf:9; // expected-note 4{{declared here}} ``` NFC, but is shorter 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