OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bitY
(Results
1 - 3
of
3
) sorted by null
/external/clang/test/CXX/expr/expr.unary/expr.sizeof/
p1.cpp
5
unsigned
bitY
: 4;
16
x = sizeof(a->var ? a->bitX : a->
bitY
); // expected-error {{invalid application of 'sizeof' to bit-field}}
19
x = sizeof(a->
bitY
+= 3); // expected-error {{invalid application of 'sizeof' to bit-field}}
/external/clang/test/Sema/
bitfield.c
45
unsigned
bitY
: 4;
50
(void) sizeof((t->
bitY
)); // expected-error {{invalid application of 'sizeof' to bit-field}}
54
(void) sizeof(t->var ? t->bitX : t->
bitY
); // not a bitfield designator in C
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5.cpp
45
unsigned
bitY
: 4; // expected-note {{bit-field is declared here}}
56
unsigned &t4 = (a->var ? a->bitX : a->
bitY
); // expected-error {{non-const reference cannot bind to bit-field}}
59
unsigned &t7 = (a->var ? a->var : a->
bitY
); // expected-error {{non-const reference cannot bind to bit-field}}
61
unsigned &t9 = (a->
bitY
+= 3); // expected-error {{non-const reference cannot bind to bit-field '
bitY
'}}
Completed in 199 milliseconds