OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bitX
(Results
1 - 4
of
4
) sorted by null
/external/clang/test/CXX/expr/expr.unary/expr.sizeof/
p1.cpp
4
unsigned
bitX
: 4;
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/
bitfield.c
44
unsigned
bitX
: 4;
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/
p5.cpp
44
unsigned
bitX
: 4; // expected-note 4 {{bit-field is declared here}}
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
: a->bitX); // expected-error {{non-const reference cannot bind to bit-field}
[
all
...]
/external/valgrind/main/VEX/priv/
guest_arm64_toIR.c
[
all
...]
Completed in 507 milliseconds