Home
last modified time | relevance | path

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

/external/clang/test/Analysis/
Dnew.cpp227 class DerefClass{ class
230 DerefClass() {}; in DerefClass() function in DerefClass
231 …~DerefClass() {*x = 1;}; //expected-warning {{Dereference of null pointer (loaded from field 'x')}} in ~DerefClass()
234 void testDestCall(DerefClass *arg) { in testDestCall()
239 DerefClass *pair = new DerefClass(); in test_delete_dtor_Arg()
DNewDelete-checker-test.cpp356 class DerefClass{ class
359 DerefClass() {} in DerefClass() function in DerefClass
360 ~DerefClass() {*x = 1;} in ~DerefClass()
364 DerefClass *foo = new DerefClass(); in testDoubleDeleteClassInstance()
/external/llvm-project/clang/test/Analysis/
Dnew.cpp222 class DerefClass{ class
225 DerefClass() {}; in DerefClass() function in DerefClass
226 …~DerefClass() {*x = 1;}; //expected-warning {{Dereference of null pointer (loaded from field 'x')}} in ~DerefClass()
229 void testDestCall(DerefClass *arg) { in testDestCall()
234 DerefClass *pair = new DerefClass(); in test_delete_dtor_Arg()
DNewDelete-checker-test.cpp366 class DerefClass{ class
369 DerefClass() {} in DerefClass() function in DerefClass
370 ~DerefClass() {*x = 1;} in ~DerefClass()
374 DerefClass *foo = new DerefClass(); in testDoubleDeleteClassInstance()