Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dext-vector-type-conditional.cpp76 short shrt = 5; in Operands() local
84 …(void)(four_shorts ? uss : shrt); // expected-error {{vector condition type 'FourShorts' (vector … in Operands()
85 (void)(four_shorts ? shrt : shrt); // should be fine. in Operands()
86 (void)(four_ints ? uss : shrt); // should be fine, since they get promoted to int. in Operands()
87 …(void)(four_ints ? shrt : shrt); // expected-error {{vector condition type 'FourInts' (vector of… in Operands()
H A Dvector-size-conditional.cpp79 short shrt = 5; in Operands() local
87 …(void)(four_shorts ? uss : shrt); // expected-error {{vector condition type 'FourShorts' (vector … in Operands()
88 (void)(four_shorts ? shrt : shrt); // should be fine. in Operands()
89 (void)(four_ints ? uss : shrt); // should be fine, since they get promoted to int. in Operands()
90 …(void)(four_ints ? shrt : shrt); //expected-error {{vector condition type 'FourInts' (vector of … in Operands()