Home
last modified time | relevance | path

Searched refs:bitX (Results 1 – 25 of 56) sorted by relevance

123

/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/lang/clang-mesa/clang-13.0.1.src/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 3 {{bit-field is declared here}} member
52 … unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}} in test()
53 …unsigned &t1 = (unsigned&) a->bitX; // expected-error {{C-style cast from bit-field lvalue to refe… in test()
54 …unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalu… in test()
55 …unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-fie… in test()
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
57 …unsigned &t5 = (a->var ? a->bitX : a->bitX); // expected-error {{non-const reference cannot bind t… in test()
58 …unsigned &t6 = (a->var ? a->bitX : a->var); // expected-error {{non-const reference cannot bind to… in test()
60 …unsigned &t8 = (a->bitX = 3); // expected-error {{non-const reference cannot bind to bit-field 'bi… in test()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
14 x = sizeof((unsigned) a->bitX); in test()
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
17 …x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit… in test()
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()

123