cppcheck/test
Chris Lalancette df1d6cf026
Fix the ability to recognize return types when simplifying attributes. (#3637)
* Fix the ability to recognize return types when simplifying attributes.

When parsing attributes to remove them, we have to allow for
the case where the return type of the function that follows
the attribute has a namespaced C++ type, like foo::bar .
That means that :: has to be recognized as a valid token.
Fix this in simplifyAttribute, and add tests for this as well.
2021-12-22 19:02:38 +01:00
..
bug-hunting Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
cfg windows.cfg: Added a regression test for GetPrivateProfileString() as we had a FP in the past 8b6c14aa48 2021-10-17 11:05:19 +02:00
cli Fix #9162 (Invalid --project files do not give any error) (#3177) 2021-12-19 12:36:11 +01:00
synthetic Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsuites Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
CMakeLists.txt use target-specific configuration instead of global ones in CMake (#3534) 2021-10-30 09:08:07 +02:00
options.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
options.h Update copyright year 2021-09-26 11:34:56 +02:00
precompiled.h Update Copyright year 2021-03-21 20:58:32 +01:00
redirect.h Update copyright year 2021-09-26 11:34:56 +02: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
test64bit.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testassert.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testastutils.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testautovariables.cpp Fix #10600: FP invalid dealloc of function array argument (#3613) 2021-12-09 07:16:40 +01:00
testbool.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testboost.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testbufferoverrun.cpp Add tests for #4647, #5979, #8763, #10101 (#3648) 2021-12-20 13:12:19 +01:00
testbughuntingchecks.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testcharvar.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testclangimport.cpp clang import: fixed problem with nameless struct 2021-11-29 07:00:18 +01:00
testclass.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testcmdlineparser.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testcondition.cpp Fix 10437: FP knownConditionTrueFalse after pointer check (#3646) 2021-12-20 07:28:40 +01:00
testconstructors.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testcppcheck.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testerrorlogger.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testexceptionsafety.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testexprengine.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testfilelister.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testfunctions.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testgarbage.cpp Add tests for #4647, #5979, #8763, #10101 (#3648) 2021-12-20 13:12:19 +01:00
testimportproject.cpp Fix #9162 (Invalid --project files do not give any error) (#3177) 2021-12-19 12:36:11 +01:00
testincompletestatement.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testinternal.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testio.cpp Fix #7038 false negative for string argument in the CheckIO (#3649) 2021-12-20 17:22:39 +01:00
testleakautovar.cpp Fix and tests for #7622, #10381, #10382 (#3588) 2021-11-29 22:51:35 +01:00
testlibrary.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testmathlib.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testmemleak.cpp Fix #10632 (FN charset in format string) (#3590) 2021-12-01 09:51:48 +01:00
testnullpointer.cpp Add tests for #4647, #5979, #8763, #10101 (#3648) 2021-12-20 13:12:19 +01:00
testoptions.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testother.cpp Fix #9342 FP oppositeExpression - negated value is not opposite for bitwise logical operators (#3615) 2021-12-10 18:06:45 +01:00
testpath.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testpathmatch.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testplatform.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testpostfixoperator.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testpreprocessor.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testrunner.cpp cleaned up includes based on include-what-you-use (#3627) 2021-12-15 19:47:27 +01:00
testrunner.vcxproj Fix MSVC build and some warnings (#3334) 2021-07-16 21:55:12 +02:00
testrunner.vcxproj.filters Remove TestSamples 2021-07-10 21:04:38 +02:00
testsimplifytemplate.cpp cleaned up includes based on include-what-you-use (#3627) 2021-12-15 19:47:27 +01:00
testsimplifytokens.cpp Fix the ability to recognize return types when simplifying attributes. (#3637) 2021-12-22 19:02:38 +01:00
testsimplifytypedef.cpp cleaned up includes based on include-what-you-use (#3627) 2021-12-15 19:47:27 +01:00
testsimplifyusing.cpp cleaned up includes based on include-what-you-use (#3627) 2021-12-15 19:47:27 +01:00
testsizeof.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
teststl.cpp Fix 10657: False positive; ValueFlow - invalid iterator (#3636) 2021-12-16 22:34:51 +01:00
teststring.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testsuite.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsuite.h ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testsummaries.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testsuppressions.cpp Propagate partially uninit variables in ValueFlow (#3533) 2021-10-30 07:43:37 +02:00
testsymboldatabase.cpp SymbolDatabase: Do not set wrong type for std::map etc items in range for loop 2021-12-11 15:16:54 +01:00
testthreadexecutor.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testtimer.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testtoken.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testtokenize.cpp Fix 9740: FP accessMoved related to designated initialization (#3644) 2021-12-19 12:36:48 +01:00
testtokenlist.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testtokenrange.cpp cleaned up includes based on include-what-you-use (#3627) 2021-12-15 19:47:27 +01:00
testtype.cpp Ticket #8640: Added regression test 2021-12-19 17:43:32 +01:00
testuninitvar.cpp Fix 9772: FP uninitvar: in cppcheck 2.1 (#3638) 2021-12-17 21:51:47 +01:00
testunusedfunctions.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testunusedprivfunc.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testunusedvar.cpp #10591: add TODO (#3647) 2021-12-21 10:24:38 +01:00
testutils.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testutils.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testvaarg.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00
testvalueflow.cpp ValueFlow: Propagate const variables more aggressively (#3606) 2021-12-06 09:16:42 +01:00
testvarid.cpp ASSERT() on calls to Tokenizer::tokenize() in test code (#3501) 2021-11-29 07:34:39 +01:00