commit | a45a50a4828e1357e9555474bc127c5585b3a420 | [log] [tgz] |
---|---|---|
author | José Fonseca <jfonseca@vmware.com> | Mon Apr 14 12:10:25 2014 +0100 |
committer | José Fonseca <jfonseca@vmware.com> | Wed Apr 16 11:44:06 2014 +0100 |
tree | 9075bd2cdfb26dbf0ccb4ed1dc1a79f5eab34941 | |
parent | 6d0e30c6a332de9ea7ab00e1fd303df2fb337c64 [diff] |
scons: Enable building through Clang Static Analyzer. By accurately detecting gcc/clang through --version option instead of executable name. Clang Static Analyzer reports many issues, most false positives, but it found at least one real and subtle use-after-free issue in st_texture_get_sampler_view(): http://people.freedesktop.org/~jrfonseca/scan-build-2014-04-14-1/report-869047.html#EndPath Reviewed-by: Brian Paul <brianp@vmware.com>