Campbell Barton
8018f5bd35
Cleanup: pep8
2016-07-30 18:17:11 +10:00
Campbell Barton
b64bdb2c1b
Checker percentage calc was wrong, also cleanup
2014-03-29 11:25:44 +11:00
Campbell Barton
3eb2724c14
Update clang array checker for new clang py api
2014-03-29 11:08:24 +11:00
Campbell Barton
456f3b318a
code cleanup: minor changes, clang checker option for exact size matches and use vector functions.
2013-04-14 12:01:12 +00:00
Campbell Barton
aff410b558
style cleanup: odd indentation
2013-03-14 05:52:30 +00:00
Campbell Barton
8b7896814f
code cleanup: reduce change the size of some float vectors that were bigger then they needed to be.
...
update to clang_array_check.py - parse function definitions lazily for some speedup.
2012-10-08 07:08:29 +00:00
Campbell Barton
1e2f475512
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.
2012-10-06 12:36:21 +00:00