HomeSort by relevance Sort by last modified time
    Searched refs:someGlobal (Results 1 - 3 of 3) sorted by null

  /external/clang/test/Analysis/
new.cpp 8 int someGlobal;
10 if (someGlobal != 0)
18 // Check that the new/delete did not invalidate someGlobal;
19 clang_analyzer_eval(someGlobal == 0); // expected-warning{{TRUE}}
global-region-invalidation.c 94 extern int someGlobal;
95 if (someGlobal == 0) {
96 clang_analyzer_eval(someGlobal == 0); // expected-warning{{TRUE}}
97 clang_analyzer_eval(someGlobal == 0); // expected-warning{{TRUE}}
free.c 64 static int someGlobal[2];
66 free(someGlobal); // expected-warning {{Argument to free() is the address of the global variable 'someGlobal', which is not memory allocated by malloc()}}

Completed in 1035 milliseconds