HomeSort by relevance Sort by last modified time
    Searched refs:DerefClass (Results 1 - 2 of 2) sorted by null

  /external/clang/test/Analysis/
new.cpp 227 class DerefClass{
230 DerefClass() {};
231 ~DerefClass() {*x = 1;}; //expected-warning {{Dereference of null pointer (loaded from field 'x')}}
234 void testDestCall(DerefClass *arg) {
239 DerefClass *pair = new DerefClass();
NewDelete-checker-test.cpp 337 class DerefClass{
340 DerefClass() {}
341 ~DerefClass() {*x = 1;}
345 DerefClass *foo = new DerefClass();

Completed in 162 milliseconds