cppcheck/lib
IOBYTE 1faae52d06 Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643)
* Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias)

This commit adds non-template type alias support to the template
simplifier.  Only relatively simple type aliases are supported at this
time. More complex types will be added later.

--debug-warnings will show unsupported type aliases.

Type alias support will be removed from the symbol database in the
future.  Type alias tests have been removed from the symbol database
tests.

* Add the changes.

* Fix codacy warning.

* Fix travis warnings.
2019-02-05 08:52:23 +01:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp Fix Cppcheck shadow variable warning 2018-11-03 19:41:25 +01:00
analyzerinfo.h Updated copyright year 2018-10-13 18:20:31 +02:00
astutils.cpp Fixed #8949 (False Positive: Variable 'f' is assigned a value that is never used.) 2019-01-22 21:16:27 +01:00
astutils.h ValueFlow: better FwdAnalysis for complex expressions 2019-01-01 18:23:47 +01:00
check.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
check.h Export interfaces from cppcheck-core.dll used from testrunner. In turn remove ctu sources from testrunner which are obsolete now. 2018-12-28 23:09:44 +01:00
check64bit.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
check64bit.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkassert.cpp Patch assert warning lib/checkassert.cpp (#1543) 2018-12-28 15:25:22 +01:00
checkassert.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkautovariables.cpp Lifetime: Support analysis with functions that do not return a reference (#1632) 2019-01-29 09:47:52 +01:00
checkautovariables.h Extend lifetime checking for references 2019-01-23 07:29:16 +01:00
checkbool.cpp Use functions instead of comparing with enum (#1471) 2018-11-09 06:30:41 +01:00
checkbool.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkboost.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
checkboost.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkbufferoverrun.cpp CTU: Refactoring 2018-12-25 21:11:23 +01:00
checkbufferoverrun.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkclass.cpp Fixed #8850 (Array in-class initialization for private member considered uninitialized) 2019-02-02 18:34:41 +01:00
checkclass.h Replace "virtual method" with "virtual function" in messages. 2019-01-15 06:22:14 +01:00
checkcondition.cpp Add a check for duplicate if statements 2019-01-09 20:41:01 +01:00
checkcondition.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkexceptionsafety.cpp Refactoring; Use range for loops 2018-07-14 09:49:03 +02:00
checkexceptionsafety.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkfunctions.cpp Fix false positive: Invalid string argument with array (#1439) 2018-10-19 07:48:47 +02:00
checkfunctions.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkinternal.cpp rephraze internal warning 2019-01-13 12:12:07 +01:00
checkinternal.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkio.cpp checkio: Add missing id "invalidScanfFormatWidth_smaller" to errorlist output (#1533) 2018-12-20 21:14:02 +01:00
checkio.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkleakautovar.cpp Fixed #8392 (false positive: "Memory leak" with malloc in if) 2019-01-27 10:27:44 +01:00
checkleakautovar.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkmemoryleak.cpp Fixed #7845 (Leak reported when ignoring return value of 'new', even if pointer saved by constructor) 2019-02-03 12:15:05 +01:00
checkmemoryleak.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checknullpointer.cpp CheckNullPointer: Try to report all CTU issues not just the first found issue 2018-12-31 07:52:14 +01:00
checknullpointer.h Fix Cppcheck missingOverride warnings 2019-01-13 13:22:36 +01:00
checkother.cpp Use valueflow in unsigned less than zero checker (#1630) 2019-01-31 09:30:29 +01:00
checkother.h Use valueflow in unsigned less than zero checker (#1630) 2019-01-31 09:30:29 +01:00
checkpostfixoperator.cpp Refactoring: Use ranged for loop 2018-07-13 16:50:12 +02:00
checkpostfixoperator.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checksizeof.cpp Use for arithOperationsOnVoidPointer messages 2018-09-26 17:58:22 +02:00
checksizeof.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkstl.cpp CTU: Reuse CheckNullPointer::isPointerDeRef in the nullpointer isUnsafeUsage 2018-12-29 09:26:57 +01:00
checkstl.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkstring.cpp Use functions instead of comparing with enum (#1471) 2018-11-09 06:30:41 +01:00
checkstring.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checktype.cpp Clarify warning 2018-12-23 12:42:18 +01:00
checktype.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkuninitvar.cpp Fix inline suppression. 2019-01-13 12:10:26 +01:00
checkuninitvar.h Fix Cppcheck missingOverride warnings 2019-01-13 13:22:36 +01:00
checkunusedfunctions.cpp CTU: Refactoring 2018-12-25 21:11:23 +01:00
checkunusedfunctions.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkunusedvar.cpp Fixed #8948 (False Positive: Variable 'n' is assigned a value that is never used.) 2019-01-26 21:44:07 +01:00
checkunusedvar.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
checkvaarg.cpp Fix 8124: False positive va_end missing with lambda (#1577) 2019-01-10 18:32:17 +01:00
checkvaarg.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
config.h Travis: Enable missingOverride checker 2019-01-13 12:21:01 +01:00
cppcheck.cpp Clarify Cppcheck output 2019-02-03 19:49:27 +01:00
cppcheck.h Introduce macro OVERRIDE for gcc-4.6 compatibility. 2019-01-12 07:37:42 +01:00
cppcheck.natvis Fixed Visual Studio Natvis file after recent refactoring (#1299) 2018-07-09 08:27:26 +02:00
cppcheck.vcxproj Add ctu sources to VS projects 2018-12-27 22:11:40 +01:00
cppcheck.vcxproj.filters Add ctu sources to VS projects 2018-12-27 22:11:40 +01:00
ctu.cpp CLI: Added --max-ctu-depth 2019-02-03 17:51:36 +01:00
ctu.h CLI: Added --max-ctu-depth 2019-02-03 17:51:36 +01:00
errorlogger.cpp Fix return value from ErrorLogger::reportUnmatchedSuppressions 2019-01-22 06:45:22 +01:00
errorlogger.h Correct exit code when there are no unmatched suppressions 2019-01-21 20:33:22 +01:00
importproject.cpp Attempt to fix MSVC compile issue 2019-02-01 00:09:07 +01:00
importproject.h Fixed compile error 2019-01-31 23:52:48 +01:00
lib.pri CTU: Refactoring 2018-12-25 21:11:23 +01:00
library.cpp library.cpp: Let tinyxml2 print a helpful error message when XML is bad (#1609) 2019-01-18 17:10:41 +01:00
library.h Rename Library::isargvalid() 2018-07-15 23:05:48 +02:00
matchcompiler.h
mathlib.cpp Correct detection of Microsoft extensions in MathLib::isValidIntegerSuffix. Remove public overloaded implementation which was not used outside mathlib.cpp. (#1531) 2018-12-20 12:20:31 +01:00
mathlib.h Correct detection of Microsoft extensions in MathLib::isValidIntegerSuffix. Remove public overloaded implementation which was not used outside mathlib.cpp. (#1531) 2018-12-20 12:20:31 +01:00
path.cpp Fixed #8563 (CPPCheck not able to locate file through compilation database) 2019-01-05 23:11:43 +01:00
path.h Fixed #8563 (CPPCheck not able to locate file through compilation database) 2019-01-05 23:11:43 +01:00
pathmatch.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
pathmatch.h Updated copyright year 2018-10-13 18:20:31 +02:00
pcrerules.pri
platform.cpp
platform.h Fix Cppcheck error message 2018-10-20 15:28:34 +02:00
preprocessor.cpp Remove inline suppression and fix false positive. 2019-01-13 07:59:41 +01:00
preprocessor.h Renamed private member file0 2018-06-17 09:06:16 +02:00
settings.cpp CLI: Added --max-ctu-depth 2019-02-03 17:51:36 +01:00
settings.h CLI: Added --max-ctu-depth 2019-02-03 17:51:36 +01:00
standards.h
suppressions.cpp Suppressions: Handle comment in file that starts with # 2019-01-12 15:21:47 +01:00
suppressions.h suppressions: Avoid duplicate comparison. 2018-10-04 17:13:11 +02:00
symboldatabase.cpp Fixed #8950 and #8952 (improve type alias support) (#1633) 2019-01-31 16:53:51 +01:00
symboldatabase.h Extend lifetime checking for references 2019-01-23 07:29:16 +01:00
templatesimplifier.cpp Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643) 2019-02-05 08:52:23 +01:00
templatesimplifier.h Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643) 2019-02-05 08:52:23 +01:00
timer.cpp Rename private member variables 2018-06-17 17:20:16 +02:00
timer.h Fix Cppcheck missingOverride warnings 2019-01-13 13:22:36 +01:00
token.cpp Fix Token::findExpressionStartEndTokens() regression 2019-01-20 13:23:19 +01:00
token.h Replace std::set::emplace with std::set::insert to make Cppcheck compilable in Slackware 14.0 2019-01-05 18:18:15 +01:00
tokenize.cpp Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643) 2019-02-05 08:52:23 +01:00
tokenize.h Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643) 2019-02-05 08:52:23 +01:00
tokenlist.cpp Optimization: Removed unnecessary calls to simplifyPath(). The Caller should do this, and our callers (mainly the test suite) more or less do so, as they all supply just dummy paths ("test.cpp") 2018-12-18 20:33:45 +01:00
tokenlist.h relative paths: show {code} properly when there are relative paths 2018-11-18 16:08:08 +01:00
utils.h Revert "Refactoring endsWith utility function" 2018-07-25 16:14:43 +02:00
valueflow.cpp Avoid infinite recursion in getLifetimeVariable (#1634) 2019-01-31 10:34:41 +01:00
valueflow.h Avoid infinite recursion in getLifetimeVariable (#1634) 2019-01-31 10:34:41 +01:00
version.h Set version to 1.86.99/1.87 dev 2018-12-08 11:53:37 +01:00
version.rc