Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/SemaCXX/
Dwarn-bitfield-enum-conversion.cpp5 enum TwoBitsSigned { Lo2 = -2, Hi2 = 1 } two_bits_signed; variable
12 …int two_bits_signed : 2; // expected-note 2 {{widen this field to 3 bits}} expected-note 1 {{… member
27 f.two_bits = two_bits_signed; // expected-warning {{negative enumerators}} in f()
32 f.two_bits_signed = two_bits; // expected-warning {{needs an extra bit}} in f()
33 f.two_bits_signed = two_bits_signed; in f()
34 f.two_bits_signed = three_bits; // expected-warning {{not wide enough}} in f()
35 f.two_bits_signed = three_bits_signed; // expected-warning {{not wide enough}} in f()
38 f.three_bits = two_bits_signed; // expected-warning {{negative enumerators}} in f()
43 f.three_bits_signed = two_bits_signed; in f()