Home
last modified time | relevance | path

Searched refs:eight_bools (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dvector-bool.cpp20 EightBools eight_bools; variable
67 …(void)(eight_bools++); // expected-error@67 {{cannot increment value of type 'EightBools' (vector … in Operations()
68 …(void)(++eight_bools); // expected-error@68 {{cannot increment value of type 'EightBools' (vector … in Operations()
69 …(void)(eight_bools--); // expected-error@69 {{cannot decrement value of type 'EightBools' (vector … in Operations()
70 …(void)(--eight_bools); // expected-error@70 {{cannot decrement value of type 'EightBools' (vector … in Operations()
79 …(void)((long)eight_bools); // expected-error@79 {{C-style cast from vector 'EightBools' (vector of… in Conversions()
81 …(void)((char)eight_bools); // expected-error@81 {{C-style cast from vector 'EightBools' (vector of… in Conversions()
88 eight_bools.y = false; // expected-error@88 {{illegal vector component name ''y''}} in ElementRefs()
89 &eight_bools.z; // expected-error@89 {{illegal vector component name ''z''}} in ElementRefs()
90 foo(eight_bools.w); // expected-error@90 {{illegal vector component name ''w''}} in ElementRefs()
[all …]
H A Dvector-size-conditional.cpp29 EightBools eight_bools; variable
102 (void)(eight_bools ? eight_bools : other_eight_bools); in Operands()