Home | History | Annotate | Download | only in inlining

Lines Matching refs:globalPtr

19 static int *globalPtr;
24 Foo f(globalPtr);
32 globalPtr = 0;
33 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
63 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
64 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
68 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
69 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
73 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
74 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
78 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
79 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
83 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
84 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
88 *globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr')}}
89 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}}
110 globalPtr = 0;
111 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
118 globalPtr = 0;
119 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
126 globalPtr = 0;
127 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
134 globalPtr = 0;
135 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
143 globalPtr = 0;
144 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
151 globalPtr = 0;
152 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}}
399 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
401 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1206 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1208 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1409 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1411 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1414 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1453 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1455 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1656 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1658 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1661 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1700 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1702 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1937 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1939 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1942 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2049 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2051 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2252 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr
2254 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2257 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2366 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2368 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2603 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2605 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2608 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2717 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2719 // CHECK-NEXT: <string>Null pointer value stored to &apos;globalPtr&apos;</string>
2890 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2892 // CHECK-NEXT: <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
2895 // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>