OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:globalPtr
(Results
1 - 3
of
3
) sorted by null
/external/clang/test/Analysis/inlining/
path-notes.cpp
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
')}}
[
all
...]
/external/clang/test/Analysis/
Malloc+MismatchedDeallocator+NewDelete.cpp
79
static int *
globalPtr
;
96
globalPtr
= p;
98
delete
globalPtr
; // expected-warning {{Attempt to free released memory}}
103
globalPtr
= arr;
/external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITTest.cpp
53
void *
globalPtr
= TheJIT->getPointerToGlobal(Global);
54
EXPECT_TRUE(nullptr !=
globalPtr
)
57
EXPECT_EQ(initialValue, *(int32_t*)
globalPtr
)
Completed in 209 milliseconds