cppcheck/test
Thomas Jarosch dca65ce3da Fix FP if sizeof is used without parentheses on struct members
Right now we only support checking basic pointer types.
Pointers inside structs are not supported yet.

Consider the tokens "foo@1 . bar@2",
Token::Match( "sizeof ( %varid% )" ) won't match it.
Token::Match( "sizeof %varid%" ) did match it -> FP.
2014-12-22 09:44:08 +01:00
..
options.cpp man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
options.h man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
redirect.h astyle formatting 2014-11-20 14:20:09 +01:00
test.cxx test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:40 +02:00
test.pro Don't include tinyxml from both lib.pri and test.pro 2013-08-19 19:44:29 +04:00
test64bit.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testassert.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testautovariables.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testbool.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testboost.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testbufferoverrun.cpp Fixed #6346 (pointer calculation overflow) 2014-12-22 09:38:00 +01:00
testcharvar.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testclass.cpp Fixed #6268 (False positive functionStatic (inconclusive) - nested namespaces) 2014-11-27 06:29:33 +01:00
testcmdlineparser.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testcondition.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testconstructors.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testcppcheck.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testerrorlogger.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testexceptionsafety.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testfilelister.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testfiles.pri run dmake 2014-09-24 13:50:57 +02:00
testgarbage.cpp Fixed #3314 (cppcheck incorrectly reporting Syntax error.) 2014-11-28 17:44:36 +01:00
testincompletestatement.cpp Fixed #6327 (Unwanted constStatement on (void)0) 2014-12-21 13:42:21 +01:00
testinternal.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testio.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testleakautovar.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testlibrary.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testmathlib.cpp Improved test coverage of MathLib. 2014-12-03 18:24:27 +01:00
testmemleak.cpp Add mmap() / mmap64() / munmap() to posix.cfg. Enables basic leak tracking 2014-12-14 13:30:24 +01:00
testnonreentrantfunctions.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testnullpointer.cpp posix.cfg: Added support for readdir(). 2014-12-10 17:44:21 +01:00
testobsolescentfunctions.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testoptions.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testother.cpp Refactoring: Avoid to load posix.cfg multiple times while testing (testother.cpp) (#6336) 2014-12-17 16:33:55 +01:00
testpath.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testpathmatch.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testpostfixoperator.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testpreprocessor.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testrunner.cpp Add memory leak tracing (Pull request 407) 2014-09-29 12:26:54 +02:00
testrunner.vcxproj Added test file for garbage code: 2014-09-24 13:45:56 +02:00
testrunner.vcxproj.filters Added test file for garbage code: 2014-09-24 13:45:56 +02:00
testsamples.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testsimplifytemplate.cpp Ticket #6172: Properly grok %type%... template parameters. 2014-12-14 14:33:37 +01:00
testsimplifytokens.cpp Fixed #6290 (Tokenizer: Because 'and' is not simplified to '&&' there are false positives) 2014-12-03 16:32:05 +01:00
testsimplifytypedef.cpp Tokenizer::simplifyTypedef: Add test that #5191 is fixed (function pointer) 2014-12-04 05:43:58 +01:00
testsizeof.cpp Fix FP if sizeof is used without parentheses on struct members 2014-12-22 09:44:08 +01:00
teststl.cpp astyle formatting 2014-11-20 14:20:09 +01:00
teststring.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testsuite.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testsuite.h Refactoring tests. Use utility function to warn about unsimplified code in tests. 2014-09-13 12:59:32 +02:00
testsuppressions.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testsymboldatabase.cpp Fixed #6266: Support noexcept(false) 2014-12-09 23:53:50 +01:00
testthreadexecutor.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testtimer.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testtoken.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testtokenize.cpp Ticket #6181: Properly handle >> terminating template parameter lists. 2014-12-14 15:14:27 +01:00
testtype.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testuninitvar.cpp Revert 2e45df3b. Because there are FP. 2014-12-18 06:37:15 +01:00
testunusedfunctions.cpp Fixed #6291 and #6293: Support :: in front of function name in checkUnusedFunctions 2014-12-09 22:04:51 +01:00
testunusedprivfunc.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testunusedvar.cpp #6301 Unused shared lock variable. Add exception for std::shared_lock() to CheckUnusedVar::checkFunctionVariableUsage_iterateScopes() 2014-12-07 15:32:09 +01:00
testutils.h astyle formatting 2014-11-20 14:20:09 +01:00
testvaarg.cpp astyle formatting 2014-11-20 14:20:09 +01:00
testvalueflow.cpp Fixed #5840 (False positive (inconclusive): Possible nullpointer dereference - use before for-loop over nested list) 2014-12-14 14:10:42 +01:00
testvarid.cpp astyle formatting 2014-11-20 14:20:09 +01:00