Lines Matching defs:np
7 char *np = nullptr; // expected-note{{'np' initialized to a null pointer value}}
8 *np = 0; // expected-warning{{Dereference of null pointer}}
27 char *np = nullptr; // expected-note{{'np' initialized to a null pointer value}}
29 int *ip = &(((struct foo *)np)->f); // expected-note{{'ip' initialized to a null pointer value}}
33 // *np = 0;
38 char *np = nullptr;
39 if (np != 0)
40 *np = 0; // no-warning
42 if (np != cp)
43 *np = 0; // no-warning