Home
last modified time | relevance | path

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

/external/clang/test/Analysis/
Dtemporaries.cpp130 struct NoReturnDtor { struct
131 ~NoReturnDtor() __attribute__((noreturn));
135 if (! x) NoReturnDtor(); in noReturnTemp()
140 NoReturnDtor(); in noReturnInline()
149 extern bool check(const NoReturnDtor &);
154 if (i == 5 && (i == 4 || check(NoReturnDtor()) || i == 5)) { in testConsistencyIf()
160 (i == 5 && (i == 4 || check(NoReturnDtor()) || i == 5)) ? 1 : 0; in testConsistencyTernary()
167 (i == 5 && (i == 4 || check(NoReturnDtor()) || i == 5)) ? 1 : 0; in testConsistencyTernary()
177 if (i == 5 && (i == 4 || i == 5 || check(NoReturnDtor()))) in testConsistencyNested()
180 if (i == 5 && (i == 4 || i == 5 || check(NoReturnDtor()))) in testConsistencyNested()
[all …]
Dnew.cpp247 class NoReturnDtor { class
249 NoReturnDtor() {} in NoReturnDtor() function in NoReturnDtor
250 ~NoReturnDtor() {abort();} in ~NoReturnDtor()
254 NoReturnDtor test; in test_delete_dtor_LocalVar()
258 class DerivedNoReturn:public NoReturnDtor {
278 NoReturnDtor *foo = 0; in testDeleteNull()
284 NoReturnDtor *p = 0; in testNullAssigneddtor()
285 NoReturnDtor *s = p; in testNullAssigneddtor()
290 void deleteArg(NoReturnDtor *test) { in deleteArg()
295 NoReturnDtor *p = 0; in testNulldtorArg()
[all …]