Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Marjamäki 0d6bd9b7fd TODO: added a todo to add an error message. and removed an "invalid" todo 2008-11-25 18:15:32 +00:00
Daniel Marjamäki 4df96f299f Function usage: Report which file the missing function is implemented in 2008-11-25 18:11:02 +00:00
Daniel Marjamäki bc267bbca5 TOKEN: Refactoring the 'str' member variable 2008-11-24 19:38:08 +00:00
Daniel Marjamäki 5330524f48 Function usage: Better handling of '!foo()' 2008-11-23 17:28:26 +00:00
Daniel Marjamäki a26d44daf5 Function usage: Minor update in the pattern for using function 2008-11-23 14:36:20 +00:00
Daniel Marjamäki c6264022f9 Function Usage: Handling '.. else foo()' 2008-11-23 14:26:47 +00:00
Daniel Marjamäki 954371e3f8 Function usage: Handling callbacks better: 'void (*f)() = cond ? foo : NULL' 2008-11-23 14:21:37 +00:00
Daniel Marjamäki bb46a0cc42 Function usage: handling 'return foo();' better 2008-11-23 14:17:03 +00:00
Daniel Marjamäki ce14eb6590 Function Usage: Make sure it's detected that func is used in code such as 'if ( func() ) { ..' 2008-11-23 11:40:41 +00:00
Reijo Tomperi 29a1468523 Refactoring: Renamed some member variables: variable -> _variable 2008-11-23 11:08:07 +00:00
Reijo Tomperi 0b2e7a0ef3 Refactoring: at() changed to tokAt() and getstr() changed to strAt() 2008-11-23 10:09:16 +00:00
Daniel Marjamäki 79854620c7 Function usage: Fixes in the check 2008-11-23 07:33:14 +00:00
Daniel Marjamäki 0c9784fc0c Refactoring: The Tokenizer::FillFunctionList has no use of its parameter. Enabled the CheckFunctionUsage 2008-11-23 06:21:44 +00:00
Reijo Tomperi 3ba83b6620 Refactoring: token.* files added, Some functions from Tokenizer moved under TOKEN. Renamed few functions, like gettok() -> at(), combineWithNext() and deleteNext() are also new
names for old functions. Usage was gettok( tok, 2 ), but now it is tok->at( 2 ).
2008-11-22 22:49:14 +00:00
Daniel Marjamäki 6687bc7b9a Function Usage: Added a new class for checking function usage 2008-11-22 18:51:01 +00:00