cppcheck/todo.txt

59 lines
1.0 KiB
Plaintext

Tokens..
I think the SimplifyTokens function should insert braces after every if/for/while.
That would make the token list easier to parse.
Userdefined types
I think this needs to be handled better.
Unused function / variable
If the user provides "--recursive" there should be
warnings for unused functions and variables.
Check if all members in the public section of a class
are used externally.
Dead pointers
Check for dead pointers
Style
Increase constness
Function parameters: Use std::ostream instead of std::ostringstream or std::ofstream
Function parameters: By reference instead of by value
Optimisation: Return "const _T &" instead of "_T"?
Unused variable (function, file, class), unused value, unused parameter
MEMORY LEAKS
============
Allow the user to specify classes to be ignored (that have garbage collection)
Allow the user to specify allocation and free functions (kmalloc, kfree)
Better checking of pointers in structs