Lines Matching refs:getZero
56 int *getZero() {
65 *getZero() = 1; // expected-warning{{Dereference of null pointer}}
66 // expected-note@-1 {{Calling 'getZero'}}
67 // expected-note@-2 {{Returning from 'getZero'}}
72 return *getZero(); // expected-warning{{Dereference of null pointer}}
73 // expected-note@-1 {{Calling 'getZero'}}
74 // expected-note@-2 {{Returning from 'getZero'}}
79 int *a = getZero();
80 // expected-note@-1 {{Calling 'getZero'}}
81 // expected-note@-2 {{Returning from 'getZero'}}
88 a = getZero();
89 // expected-note@-1 {{Calling 'getZero'}}
90 // expected-note@-2 {{Returning from 'getZero'}}
103 usePointer(getZero());
104 // expected-note@-1 {{Calling 'getZero'}}
105 // expected-note@-2 {{Returning from 'getZero'}}
1091 // CHECK-NEXT: <string>Calling 'getZero'</string>
1093 // CHECK-NEXT: <string>Calling 'getZero'</string>
1260 // CHECK-NEXT: <string>Returning from 'getZero'</string>
1262 // CHECK-NEXT: <string>Returning from 'getZero'</string>
1406 // CHECK-NEXT: <string>Calling 'getZero'</string>
1408 // CHECK-NEXT: <string>Calling 'getZero'</string>
1575 // CHECK-NEXT: <string>Returning from 'getZero'</string>
1577 // CHECK-NEXT: <string>Returning from 'getZero'</string>
1721 // CHECK-NEXT: <string>Calling 'getZero'</string>
1723 // CHECK-NEXT: <string>Calling 'getZero'</string>
1890 // CHECK-NEXT: <string>Returning from 'getZero'</string>
1892 // CHECK-NEXT: <string>Returning from 'getZero'</string>
2099 // CHECK-NEXT: <string>Calling 'getZero'</string>
2101 // CHECK-NEXT: <string>Calling 'getZero'</string>
2268 // CHECK-NEXT: <string>Returning from 'getZero'</string>
2270 // CHECK-NEXT: <string>Returning from 'getZero'</string>
2477 // CHECK-NEXT: <string>Calling 'getZero'</string>
2479 // CHECK-NEXT: <string>Calling 'getZero'</string>
2646 // CHECK-NEXT: <string>Returning from 'getZero'</string>
2648 // CHECK-NEXT: <string>Returning from 'getZero'</string>