cppcheck/test
KenPatrickLehrmann f5f600bafc
Don't simplify template for class names in declarations (#3505)
* Don't simplify template for class names in declarations

Without the patch, the test would give:

```
Expected:
namespace foo { class Bar ; } class Baz ; class C : Baz { } ;

Actual:
namespace foo { class Bar ; } class Baz ; class foo :: Bar : Baz { } ;

```

* Use valid code in test case
2021-11-06 19:07:45 +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 streamlined message/error printing of CmdLineParser (#3524) 2021-10-30 13:30:48 +02: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 #8631: Added regression test 2021-08-23 08:51:54 +02:00
testassert.cpp Validate asserts in the AST to fix crash in 10442 (#3428) 2021-08-29 20:45:31 +02:00
testastutils.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testautovariables.cpp Fix 10585: FP danglingTemporaryLifetime recent regression (#3544) 2021-11-04 09:24:24 +01:00
testbool.cpp Fix FPs in bitwiseOnBoolean (#3455) 2021-09-19 15:20:57 +02:00
testboost.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testbufferoverrun.cpp Fixed #10367 (False positive; pointer out of bounds argv-1) 2021-09-15 08:29:10 +02:00
testbughuntingchecks.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testcharvar.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testclangimport.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testclass.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testcmdlineparser.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testcondition.cpp Fix 10226: FN: knownConditionTrueFalse (#3537) 2021-10-31 14:51:07 +01:00
testconstructors.cpp Fixed #10142 (FP uninitMemberVar with std::map) 2021-09-05 16:35:24 +02: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 Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testexprengine.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testfilelister.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testfunctions.cpp Fixed #10523 (FP: missingReturn with nested switch statements) 2021-10-31 14:48:29 +01:00
testgarbage.cpp Ticket #7884: added regression test 2021-10-08 23:14:16 +02:00
testimportproject.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testincompletestatement.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testinternal.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testio.cpp Fix incorrect warning with `%zi` in format string (#3437) 2021-09-05 07:34:22 +02:00
testleakautovar.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testlibrary.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testmathlib.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testmemleak.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testnullpointer.cpp Fix 10210: FN: nullPointerRedundantCheck regression in member function (#3512) 2021-10-15 10:57:40 +02:00
testoptions.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testother.cpp Fixed #10547 (False positive: constVariable, buffer written by stream read) 2021-10-18 19:38:53 +02: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 Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testpreprocessor.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testrunner.cpp Update copyright year 2021-09-26 11:34:56 +02: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 Fix 10506: Hang: template alias (TemplateSimplfier) (#3466) 2021-09-25 11:56:39 +02:00
testsimplifytokens.cpp Fix 10435: False positive: containerOutOfBounds (#3426) 2021-08-29 15:40:10 +02:00
testsimplifytypedef.cpp Don't simplify template for class names in declarations (#3505) 2021-11-06 19:07:45 +01:00
testsimplifyusing.cpp TestSimplifyUsing; code cleanup 2021-08-21 10:39:53 +02:00
testsizeof.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
teststl.cpp Fix 10033: false negative: danglingTemporaryLifetime with usage of reference from nested object not detected (#3542) 2021-11-01 19:23:15 +01:00
teststring.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsuite.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsuite.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsummaries.cpp Update Copyright year 2021-03-21 20:58:32 +01:00
testsuppressions.cpp Propagate partially uninit variables in ValueFlow (#3533) 2021-10-30 07:43:37 +02:00
testsymboldatabase.cpp Fix handling of namespace scope with several bodystarts (#3438) 2021-09-04 11:09:33 +02: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 Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testtokenize.cpp Fix 10496: crash: endless recursion (symbolDatabaseCreateExprId => isSameExpr => isSameExpr ...) (#3467) 2021-09-25 11:55:49 +02:00
testtokenlist.cpp Update copyright year 2021-09-26 11:34:56 +02:00
testtokenrange.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testtype.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testuninitvar.cpp Fix 9735 for valueFlowUninit (#3538) 2021-11-06 19:06:07 +01:00
testunusedfunctions.cpp Fix 9766: False positive; suspicious operator is written in declaration (#3476) 2021-10-03 09:59:51 +02:00
testunusedprivfunc.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testunusedvar.cpp Fixed #10485 (FP unusedStructMember for array size) 2021-10-30 19:34:46 +02: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 Update Copyright year 2021-03-21 20:58:32 +01:00
testvalueflow.cpp Fixed #10222 (regression: arrayIndexOutOfBounds) 2021-11-03 20:16:44 +01:00
testvarid.cpp Fix 9873: False negative: null pointer when checking raw pointer (#3485) 2021-10-06 08:39:58 +02:00