OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PtrWrapper
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/Analysis/
new.cpp
77
struct
PtrWrapper
{
80
PtrWrapper
(int *input) : x(input) {}
83
PtrWrapper
*testNewInvalidation() {
85
return new
PtrWrapper
(static_cast<int *>(malloc(4))); // no-warning
88
void testNewInvalidationPlacement(
PtrWrapper
*w) {
90
new (w)
PtrWrapper
(static_cast<int *>(malloc(4))); // no-warning
103
void testCacheOut(
PtrWrapper
w) {
NewDelete-checker-test.cpp
79
struct
PtrWrapper
{
82
PtrWrapper
(int *input) : x(input) {}
85
void testNewInvalidationPlacement(
PtrWrapper
*w) {
87
new (w)
PtrWrapper
(new int); // no warn
Completed in 59 milliseconds