Home
last modified time | relevance | path

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

/external/clang/test/Sema/
Dwarn-overlap.c6 CHOICE_0 = 0, enumerator
68 …if (x != CHOICE_0 || x != CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in f()
69 …if (x == CHOICE_0 && x == CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in f()
72 if (x == CHOICE_0 && x == 1) { } in f()
73 if (x != CHOICE_0 || x != 1) { } in f()
76 if (x == CHOICE_0 && x == UNCHOICE_1) { } in f()
77 if (x != CHOICE_0 || x != UNCHOICE_1) { } in f()
81 …if (c != CHOICE_0 || c != CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in enums()
82 …if (c == CHOICE_0 && c == CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in enums()
85 if (c == CHOICE_0 && c == 1) { } in enums()
[all …]
/external/llvm-project/clang/test/Sema/
Dwarn-overlap.c7 CHOICE_0 = 0, enumerator
69 …if (x != CHOICE_0 || x != CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in f()
70 …if (x == CHOICE_0 && x == CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in f()
73 if (x == CHOICE_0 && x == 1) { } in f()
74 if (x != CHOICE_0 || x != 1) { } in f()
77 if (x == CHOICE_0 && x == UNCHOICE_1) { } in f()
78 if (x != CHOICE_0 || x != UNCHOICE_1) { } in f()
82 …if (c != CHOICE_0 || c != CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in enums()
83 …if (c == CHOICE_0 && c == CHOICE_1) { } // expected-warning {{overlapping comparisons always evalu… in enums()
86 if (c == CHOICE_0 && c == 1) { } in enums()
[all …]