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

/external/clang/test/CXX/expr/expr.unary/expr.sizeof/
H A Dp1.cpp4 unsigned bitX : 4; member in struct:A
13 x = sizeof(a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}}
14 x = sizeof((unsigned) a->bitX);
15 x = sizeof(a->foo(), a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}}
16 x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit-field}}
17 x = sizeof(a->var ? a->bitX : a->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}}
18 x = sizeof(a->bitX = 3); // expected-error {{invalid application of 'sizeof' to bit-field}}
/external/clang/test/Sema/
H A Dbitfield.c44 unsigned bitX : 4; member in struct:Test4
49 (void) sizeof(t->bitX); // expected-error {{invalid application of 'sizeof' to bit-field}}
51 (void) sizeof(t->bitX = 4); // not a bitfield designator in C
52 (void) sizeof(t->bitX += 4); // not a bitfield designator in C
53 (void) sizeof((void) 0, t->bitX); // not a bitfield designator in C
54 (void) sizeof(t->var ? t->bitX : t->bitY); // not a bitfield designator in C
55 (void) sizeof(t->var ? t->bitX : t->bitX); // not a bitfield designator in C
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5.cpp44 unsigned bitX : 4; // expected-note 4 {{bit-field is declared here}} member in struct:test3::A
52 unsigned &t0 = a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}}
53 unsigned &t1 = (unsigned&) a->bitX; // expected-error {{non-const reference cannot bind to bit-field 'bitX'}}
54 unsigned &t2 = const_cast<unsigned&>(a->bitX); // expected-error {{const_cast from bit-field lvalue to reference type 'unsigned int &'}}
55 unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-field 'bitX'}}
56 unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind to bit-field}}
57 unsigned &t5 = (a->var ? a->bitX
[all...]
/external/valgrind/main/VEX/priv/
H A Dguest_arm64_toIR.c3530 UInt bitX = INSN(22,22); local
3539 vassert(bitX == 0);
3545 if (bitX == 1) {
3551 nameIRegOrZR(bitX == 0, tt),
3555 if (bitX == 1) {
3561 nameIRegOrZR(bitX == 0, tt),

Completed in 1782 milliseconds