Home
last modified time | relevance | path

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

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5.cpp44 unsigned bitX : 4; // expected-note 4 {{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 {{non-const reference cannot bind to bit-fie… 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()
/external/clang/test/CXX/expr/expr.unary/expr.sizeof/
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()
/external/clang/test/Sema/
Dbitfield.c48 unsigned bitX : 4; member
53 (void) sizeof(t->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}} in test4()
55 (void) sizeof(t->bitX = 4); // not a bitfield designator in C in test4()
56 (void) sizeof(t->bitX += 4); // not a bitfield designator in C in test4()
57 (void) sizeof((void) 0, t->bitX); // not a bitfield designator in C in test4()
58 (void) sizeof(t->var ? t->bitX : t->bitY); // not a bitfield designator in C in test4()
59 (void) sizeof(t->var ? t->bitX : t->bitX); // not a bitfield designator in C in test4()
/external/valgrind/VEX/priv/
Dguest_arm64_toIR.c5180 UInt bitX = INSN(22,22); in dis_ARM64_load_store() local
5189 vassert(bitX == 0); in dis_ARM64_load_store()
5195 if (bitX == 1) { in dis_ARM64_load_store()
5201 nameIRegOrZR(bitX == 0, tt), in dis_ARM64_load_store()
5205 if (bitX == 1) { in dis_ARM64_load_store()
5211 nameIRegOrZR(bitX == 0, tt), in dis_ARM64_load_store()