[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 09:45:01 PDT 2023
================
@@ -138,7 +138,7 @@ namespace dr1295 { // dr1295: 4
#if __cplusplus <= 201402L
// expected-error at -2 {{does not refer to any declaration}} expected-note at -3 {{here}}
#else
- // expected-error at -4 {{refers to subobject}}
+ // expected-error at -4 {{bind to bit-field in converted constant expression}}
----------------
Endilll wrote:
Nit from me: citing diagnostic message without omissions helps later on when someone revisits the test.
https://github.com/llvm/llvm-project/pull/71077
More information about the cfe-commits
mailing list