Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dwarn-enum-compare.cpp4 enum Bar { BarD, BarE, BarF }; enumerator
27 Bar y = BarD; in test()
34 while (y == BarD); in test()
49 while ((y) == BarD); in test()
59 while ((y) == (BarD)); in test()
98 …while (FooB == BarD); // expected-warning {{comparison of two values with different enumeration t… in test()
99 …while (FooB != BarD); // expected-warning {{comparison of two values with different enumeration t… in test()
100 …while (FooB >= BarD); // expected-warning {{comparison of two values with different enumeration t… in test()
101 …while (FooB <= BarD); // expected-warning {{comparison of two values with different enumeration t… in test()
102 …while (FooB > BarD); // expected-warning {{comparison of two values with different enumeration ty… in test()
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dwarn-enum-compare.cpp5 enum Bar { BarD, BarE, BarF }; enumerator
30 Bar y = BarD; in test()
38 while (y == BarD); in test()
55 while ((y) == BarD); in test()
65 while ((y) == (BarD)); in test()
109 …while (FooB == BarD); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
110 …while (FooB != BarD); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
111 …while (FooB >= BarD); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
112 …while (FooB <= BarD); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
113 …while (FooB > BarD); // expected-warning {{comparison of different enumeration types ('Foo' and '… in test()
[all …]