Lines Matching full:globalptr

19 static int *globalPtr;  variable
24 Foo f(globalPtr); in ~Bar()
32 globalPtr = 0; in test()
33 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in test()
63 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
64 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
68 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
69 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
73 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
74 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
78 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in operator =()
79 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in operator =()
83 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in operator =()
84 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in operator =()
88 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in ~Dereferencer()
89 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in ~Dereferencer()
110 globalPtr = 0; in testDefaultConstruction()
111 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in testDefaultConstruction()
118 globalPtr = 0; in testCopyConstruction()
119 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in testCopyConstruction()
126 globalPtr = 0; in testMoveConstruction()
127 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in testMoveConstruction()
134 globalPtr = 0; in testCopyAssignment()
135 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in testCopyAssignment()
143 globalPtr = 0; in testMoveAssignment()
144 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in testMoveAssignment()
151 globalPtr = 0; in testDestruction()
152 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in testDestruction()