cppcheck/lib
Thomas Jarosch f6e68914ea Add check for cppcheck's internal API usage (#3263)
First checks:
- Simple pattern used inside Token::Match()
- Complex pattern used inside Token::simpleMatch()

The checks get enabled by passing "--enable=internal".
It's not included in "--enable=all".

If you see something that needs further tweaking, just go for it!
2011-10-28 22:46:07 +02:00
..
check.h Fixed #3220 (False positive: possible null pointer dereference: 'SwDoc *pDoc = NULL; pDoc->do_something();') 2011-10-18 19:34:14 +02:00
check64bit.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
check64bit.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkassignif.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkassignif.h minor formatting updates of --doc output 2011-10-27 10:50:40 +02:00
checkautovariables.cpp Use Token::simpleMatch instead of Token::Match for simple patterns 2011-10-27 15:59:22 +02:00
checkautovariables.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkboost.cpp Fixed #3232 (Check if container is modified inside BOOST_FOREACH) 2011-10-23 13:07:43 +02:00
checkboost.h Fixed #3232 (Check if container is modified inside BOOST_FOREACH) 2011-10-23 13:07:43 +02:00
checkbufferoverrun.cpp Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
checkbufferoverrun.h Refactor readlink() buffer check to also handle readlinkat() 2011-10-24 21:23:18 +02:00
checkclass.cpp Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
checkclass.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkexceptionsafety.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkexceptionsafety.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkinternal.cpp Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
checkinternal.h Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
checkmemoryleak.cpp Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
checkmemoryleak.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checknonreentrantfunctions.cpp checkMathFunctions: Refactoring the check 2011-10-22 12:31:47 +02:00
checknonreentrantfunctions.h Fix #3243 (Improve non reentrant function check) 2011-10-22 11:54:52 +02:00
checknullpointer.cpp Bugfix: checknullpointer worked incorrect for complex first 2011-10-23 15:23:36 +02:00
checknullpointer.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkobsoletefunctions.cpp Fixed #3238 (Crash in obsolete functions check.) 2011-10-22 12:36:45 +02:00
checkobsoletefunctions.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkother.cpp Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
checkother.h minor formatting updates of --doc output 2011-10-27 10:50:40 +02:00
checkpostfixoperator.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkpostfixoperator.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkstl.cpp Use Token::simpleMatch instead of Token::Match for simple patterns 2011-10-27 15:59:22 +02:00
checkstl.h Fixed #3174 (New check: Useless calls of STL functions) 2011-10-24 23:25:23 +02:00
checkuninitvar.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkuninitvar.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkunusedfunctions.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkunusedfunctions.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkunusedvar.cpp Use Token::simpleMatch instead of Token::Match for simple patterns 2011-10-27 15:59:22 +02:00
checkunusedvar.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
cppcheck.cpp Add option to set #ifdef configuration check limit 2011-10-18 19:52:55 -05:00
cppcheck.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
errorlogger.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
errorlogger.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
executionpath.cpp Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
executionpath.h Add more warnings and fix the ones reported by them. 2011-10-22 15:05:43 +02:00
lib.pri Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
mathlib.cpp Fixed ticket #3229 (Segfault with goto): 2011-10-18 23:56:35 +02:00
mathlib.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
path.cpp Add condition for HP-UX. 2011-10-20 09:01:58 +02:00
path.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
pcrerules.pri Complete 'disable the rules by default' for other platforms. 2011-10-19 15:14:39 +02:00
preprocessor.cpp Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
preprocessor.h Preprocessor: updates to 'normal' preprocessing 2011-10-23 19:17:29 +02:00
settings.cpp Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
settings.h astyle formatting 2011-10-22 11:11:54 +02:00
standards.h Fixed #3204 (Refactor standards support in Settings) 2011-10-22 10:34:04 +02:00
suppressions.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
suppressions.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
symboldatabase.cpp Use Token::simpleMatch instead of Token::Match for simple patterns 2011-10-27 15:59:22 +02:00
symboldatabase.h fixed a few doxygen warnings 2011-10-16 17:16:07 +02:00
timer.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
timer.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
token.cpp Improve nextArgument by returning 0 if there's an unexpected ';'. 2011-10-28 18:57:10 +02:00
token.h Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
tokenize.cpp Use new findsimplematch API for simple patterns 2011-10-28 12:49:03 +02:00
tokenize.h Improved isJavaOrCSharp, isC and isCPP. Fixed isC for files with includes. 2011-10-27 19:18:54 +02:00