SDL/src/stdlib
Ryan C. Gordon bf02bb2582 Clang static analysis builds should use C runtime directly.
This is a little macro magic to use malloc() directly instead of SDL_malloc(),
 etc, so static analysis tests that know about the C runtime can function
 properly, and understand that we are dealing with heap allocations, etc.

This changed our static analysis report from 5 outstanding bugs to 30.

5x as many bugs were hidden by SDL_malloc() not being recognized as malloc()
 by the static analyzer!
2015-01-05 01:41:42 -05:00
..
SDL_getenv.c Clang static analysis builds should use C runtime directly. 2015-01-05 01:41:42 -05:00
SDL_iconv.c Clang static analysis builds should use C runtime directly. 2015-01-05 01:41:42 -05:00
SDL_malloc.c Clang static analysis builds should use C runtime directly. 2015-01-05 01:41:42 -05:00
SDL_qsort.c Clang static analysis builds should use C runtime directly. 2015-01-05 01:41:42 -05:00
SDL_stdlib.c Clang static analysis builds should use C runtime directly. 2015-01-05 01:41:42 -05:00
SDL_string.c Clang static analysis builds should use C runtime directly. 2015-01-05 01:41:42 -05:00