2008-12-14 16:30:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
Fix a TODO in the code
|
|
|
|
|
2008-12-15 19:54:04 +01:00
|
|
|
Optimisations
|
|
|
|
* Create a function similar to TOKEN::Match. That first "compiles" a pattern.
|
|
|
|
|
2008-12-14 16:30:38 +01:00
|
|
|
Refactoring
|
|
|
|
* Split large functions into smaller functions.
|
|
|
|
When possible, convert unit tests for these smaller functions
|
|
|
|
* Use %varid% instead of %var1% or %var2% in pattern matches
|
|
|
|
* create a simplify function that converts "void f(x) int x; {" to "void f(int x) {"
|
|
|
|
* improve the variable id so class/struct member variables get a variable id
|
2008-12-14 17:36:35 +01:00
|
|
|
* parse header files only once.
|
2008-12-14 16:30:38 +01:00
|
|
|
|
|
|
|
Preprocessor
|
|
|
|
* Expand preprocessor macros
|
|
|
|
|
|
|
|
CheckMemoryleak
|
|
|
|
* Check for more resource leaks
|
|
|
|
- Windows API (CreatePen, GetDC, ..)
|
|
|
|
|
|
|
|
New checks
|
|
|
|
* Check if there are static functions or variables that are unused
|
|
|
|
|
|
|
|
Unit testing
|
|
|
|
* There are many checks that doesn't have unit tests
|
|
|
|
* Fix any of the tests that are marked as TODO
|
|
|
|
* Add a unit test for one of the issues in the tracker
|
|
|
|
* Each issue that has a unit test should have a comment about it
|
|
|
|
|