Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dwarn-unreachable.cpp297 void calledFun() {} in calledFun() function
301 …if (false) calledFun(); // expected-warning {{will never be executed}} expected-note {{silence by … in test_with_paren_silencing()
302 if ((false)) calledFun(); // no-warning in test_with_paren_silencing()
305 calledFun(); in test_with_paren_silencing()
307 calledFun(); // expected-warning {{will never be executed}} in test_with_paren_silencing()
310 calledFun(); in test_with_paren_silencing()
312 calledFun(); // no-warning in test_with_paren_silencing()
315 calledFun(); // expected-warning {{code will never be executed}} in test_with_paren_silencing()
317 calledFun(); in test_with_paren_silencing()
320 calledFun(); // no-warning in test_with_paren_silencing()
[all …]
/external/clang/test/Sema/
Dwarn-unreachable.c139 int calledFun();
141 if (x & 0) calledFun(); // expected-warning {{will never be executed}} in test_mul_and_zero()
142 if (0 & x) calledFun(); // expected-warning {{will never be executed}} in test_mul_and_zero()
143 if (x * 0) calledFun(); // expected-warning {{will never be executed}} in test_mul_and_zero()
144 if (0 * x) calledFun(); // expected-warning {{will never be executed}} in test_mul_and_zero()
175 calledFun(); in unreachable_default()
178 calledFun(); in unreachable_default()
181 calledFun(); // no-warning in unreachable_default()
189 calledFun(); // expected-warning {{will never be executed}} in unreachable_in_default()
239 return calledFun(); // expected-warning {{will never be executed}} in nontrivial_dead_return_enum_2()
[all …]
/external/clang/test/SemaObjC/
Dwarn-unreachable.m52 void calledFun() {} function
56 …if (NO) calledFun(); // expected-warning {{will never be executed}} expected-note {{silence by add…
57 if ((NO)) calledFun(); // no-warning
60 calledFun();
62 calledFun(); // expected-warning {{will never be executed}}
65 calledFun();
67 calledFun(); // no-warning
70 calledFun(); // expected-warning {{code will never be executed}}
72 calledFun();
75 calledFun(); // no-warning
[all …]