Blender Git Loki

Git Commits -> Revision 1e2f475

Revision 1e2f475 by Campbell Barton (master)
October 6, 2012, 12:36 (GMT)
added simple checker for array sizes, uses clang to parse C/C++,

Warns if an array is passed to a function where the array is declared larger, eg float[2] argument is passed function defined as float[3], (or a greater size).

Existing free static checkers dont do this from what I can tell.

Commit Details:

Full Hash: 1e2f475512e5d5614078a6154cfd38a0e05fa6ea
SVN Revision: 51113
Parent Commit: 4cc2911
Lines Changed: +418, -0

2 Added Paths:

/build_files/cmake/clang_array_check.py (+337, -0) (View)
/build_files/cmake/cmake_static_check_clang_array.py (+76, -0) (View)

1 Modified Path:

/GNUmakefile (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021