Lines Matching refs:malloc
14 void *malloc(size_t);
80 // PR 2899 - warn of zero-sized allocations to malloc().
82 char* foo = malloc(0); // expected-warning{{Call to 'malloc' has an allocation size of 0 bytes}}
88 char* foo = malloc(size); // no-warning
709 // CHECK-NEXT: <string>Call to 'malloc' has an allocation size of 0 bytes</string>
711 // CHECK-NEXT: <string>Call to 'malloc' has an allocation size of 0 bytes</string>
714 // CHECK-NEXT: <key>description</key><string>Call to 'malloc' has an allocation size of 0 bytes</string>