cppcheck/lib
IOBYTE 026d8f6859 fix #8284: False positive: "Label 'class' is not used." for anonymous… (#1011)
* fix #8284: False positive: "Label 'class' is not used." for anonymous C++ class

Add support for annonymous derived structures and classes.

* Fix travis build (use findsimplematch).

* Fix bug in simplifyLabelsCaseDefault which was inserting ; in wrong place.
2017-12-05 16:50:04 +01:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp Removed XML version 1 2017-07-29 18:56:22 +02:00
analyzerinfo.h
astutils.cpp Refactoring, reuse and improve isVariableChangedByFunction() 2017-11-18 11:02:52 +01:00
astutils.h Refactoring, reuse and improve isVariableChangedByFunction() 2017-11-18 11:02:52 +01:00
check.cpp Use nullptr instead of 0 or NULL (#936) 2017-08-09 20:00:26 +02:00
check.h Correctify explicit usage (#951) 2017-09-07 13:03:45 +02:00
check64bit.cpp Use nullptr instead of 0 or NULL (#936) 2017-08-09 20:00:26 +02:00
check64bit.h iwyu - include what you use 2017-05-27 04:33:47 +02:00
checkassert.cpp Refactoring: Use continue in loop 2017-07-26 21:13:49 +02:00
checkassert.h
checkautovariables.cpp Don't use static where not needed (#952) 2017-09-07 13:01:07 +02:00
checkautovariables.h
checkbool.cpp Modernize: make use of 'nullptr' and added a rule-file for finding non-nullptr (zero) initializations. 2017-07-28 15:20:43 +02:00
checkbool.h iwyu - include what you use 2017-05-27 04:33:47 +02:00
checkboost.cpp
checkboost.h Use nullptr instead of 0 or NULL (#936) 2017-08-09 20:00:26 +02:00
checkbufferoverrun.cpp Remove redundant parts of conditional expressions (#988) 2017-11-03 10:39:57 +01:00
checkbufferoverrun.h
checkclass.cpp Fixed #8271 (FP uninitMemberVar: Handle method call in middle of statement) 2017-11-11 21:28:24 +01:00
checkclass.h changed id for new checker to unsafeClassDivZero 2017-10-21 21:45:04 +02:00
checkcondition.cpp Remove redundant parts of conditional expressions (#988) 2017-11-03 10:39:57 +01:00
checkcondition.h Fixed #8250 (New check: Pointer calculation result cant be NULL unless there is overflow) 2017-10-22 14:32:54 +02:00
checkexceptionsafety.cpp
checkexceptionsafety.h Use nullptr instead of 0 or NULL (#936) 2017-08-09 20:00:26 +02:00
checkfunctions.cpp Fixed #8263 (check-library incorrectly reports missing configuration for case when value is in parentheses) 2017-11-17 22:10:39 +01:00
checkfunctions.h
checkinternal.cpp
checkinternal.h
checkio.cpp astyle formatting 2017-11-27 23:32:20 +01:00
checkio.h Remove duplicate error reporting function 2017-11-14 21:46:17 +03:00
checkleakautovar.cpp Fix for conditional memory allocation inside if-condition (#986) 2017-10-26 19:11:00 +02:00
checkleakautovar.h
checkmemoryleak.cpp Simplify int vs bool 2017-10-08 07:54:39 +02:00
checkmemoryleak.h Use nullptr instead of 0 or NULL (#936) 2017-08-09 20:00:26 +02:00
checknullpointer.cpp Remove redundant parts of conditional expressions (#988) 2017-11-03 10:39:57 +01:00
checknullpointer.h
checkother.cpp Add errorpath for accessMoved message 2017-10-10 15:49:15 +02:00
checkother.h Add errorpath for accessMoved message 2017-10-10 15:49:15 +02:00
checkpostfixoperator.cpp iwyu - include what you use 2017-05-27 04:33:47 +02:00
checkpostfixoperator.h
checksizeof.cpp Only check pointer that can be null at that point 2017-10-14 19:09:42 +03:00
checksizeof.h Name all params (#956) 2017-09-07 12:59:53 +02:00
checkstl.cpp Remove redundant parts of conditional expressions (#988) 2017-11-03 10:39:57 +01:00
checkstl.h Fixed #1693 (false negative: std::vector, negative index) 2017-08-22 11:04:02 +02:00
checkstring.cpp astyle formatting 2017-11-27 23:32:20 +01:00
checkstring.h Fix classInfo to fix TestCppcheck assertion 2017-11-27 23:34:01 +01:00
checktype.cpp Use MathLib::bigint_bits 2017-10-21 22:08:34 +02:00
checktype.h checkTooBigBitwiseShift: Separate id for signed shift overflow 2017-09-19 09:21:20 +02:00
checkuninitvar.cpp ValueFlow: Put 'inconclusive' state in the ValueKind. A value can't be both known and inconclusive. 2017-09-20 22:41:36 +02:00
checkuninitvar.h Fixed #7663 (False positive: uninitialized variable (multi variables in inner scopes)) 2017-09-07 23:08:55 +02:00
checkunusedfunctions.cpp Simplify code, read attribute once 2017-08-24 18:23:44 +03:00
checkunusedfunctions.h Name all params (#956) 2017-09-07 12:59:53 +02:00
checkunusedvar.cpp Fixed #6508 (False positive unusedStructMember - brace initializer) 2017-11-12 22:33:17 +01:00
checkunusedvar.h
checkvaarg.cpp
checkvaarg.h
config.h
cppcheck.cpp Simplify int vs bool 2017-10-08 07:54:39 +02:00
cppcheck.h Fix doxygen comments 2017-08-21 21:13:01 +02:00
cppcheck.natvis
cppcheck.vcxproj also generate debug information when building for release. This makes (#1003) 2017-11-29 08:31:30 +01:00
cppcheck.vcxproj.filters
cxx11emu.h
errorlogger.cpp add "internalAstError" id so we can easily track ast errors on daca. 2017-09-05 22:49:16 +02:00
errorlogger.h add "internalAstError" id so we can easily track ast errors on daca. 2017-09-05 22:49:16 +02:00
importproject.cpp astyle formatting 2017-11-11 11:13:45 +01:00
importproject.h Support relative paths in Visual Studio projects properties (#995) 2017-11-11 11:13:18 +01:00
lib.pri
library.cpp Revert changes I committed by mistake 2017-10-11 17:15:28 +02:00
library.h --check-library: improved function name output 2017-10-05 21:50:24 +02:00
matchcompiler.h
mathlib.cpp Add an ability to use address sanitizer (#979) 2017-10-21 21:04:14 +02:00
mathlib.h Fix compiler errors 2017-10-20 17:38:15 +02:00
path.cpp #8240 Fix test error due to path handling 2017-10-11 08:45:29 +02:00
path.h pull request for ticket 8180 (better diagnostic output for bailouts) (#964) 2017-10-05 23:03:13 +02:00
pathmatch.cpp GUI: Rename methods in FileList and PathMatch 2017-07-28 10:55:51 +02:00
pathmatch.h GUI: Rename methods in FileList and PathMatch 2017-07-28 10:55:51 +02:00
pcrerules.pri
platform.cpp Fix GCC compiler warning about missing enum constant PlatformFile in switch 2017-08-12 00:17:55 +02:00
platform.h astyle formatting 2017-10-20 01:53:20 +02:00
preprocessor.cpp remove outputlist since its not moved and all subfunction check for (#1001) 2017-11-29 08:29:19 +01:00
preprocessor.h Correctify explicit usage (#951) 2017-09-07 13:03:45 +02:00
settings.cpp ValueFlow: Put 'inconclusive' state in the ValueKind. A value can't be both known and inconclusive. 2017-09-20 22:41:36 +02:00
settings.h GUI: save dumpfiles in buildDir if possible 2017-08-03 22:54:38 +02:00
standards.h Added C++14 option 2017-09-22 22:00:00 +02:00
suppressions.cpp
suppressions.h
symboldatabase.cpp Remove redundant parts of conditional expressions (#988) 2017-11-03 10:39:57 +01:00
symboldatabase.h Use a 'negative cache' for tokens / enumerator checks (#980) 2017-10-18 18:01:36 +02:00
templatesimplifier.cpp Ticket #8175: Fix bug in TemplateSimplifier::instantiateMatch with template parameters involving sizeof or namespace. 2017-12-02 19:18:36 +01:00
templatesimplifier.h
timer.cpp Remove and disallow unused copy constructor 2017-08-23 17:54:20 +03:00
timer.h Remove and disallow unused copy constructor 2017-08-23 17:54:20 +03:00
token.cpp Fixed #8263 (check-library incorrectly reports missing configuration for case when value is in parentheses) 2017-11-17 22:10:39 +01:00
token.h Fixed #8263 (check-library incorrectly reports missing configuration for case when value is in parentheses) 2017-11-17 22:10:39 +01:00
tokenize.cpp fix #8284: False positive: "Label 'class' is not used." for anonymous… (#1011) 2017-12-05 16:50:04 +01:00
tokenize.h Fix for embedded PL/SQL blocks (Oracle Pro*C) (#985) 2017-11-03 11:31:33 +01:00
tokenlist.cpp missed simplification in parsing of std function declaration resulted in (#967) 2017-10-03 22:10:13 +02:00
tokenlist.h missed simplification in parsing of std function declaration resulted in (#967) 2017-10-03 22:10:13 +02:00
utils.h Improved const correctness of local variables. 2017-10-01 14:24:37 +02:00
valueflow.cpp Refactoring, reuse and improve isVariableChangedByFunction() 2017-11-18 11:02:52 +01:00
valueflow.h ValueFlow: Put 'inconclusive' state in the ValueKind. A value can't be both known and inconclusive. 2017-09-20 22:41:36 +02:00
version.h Set version to 1.81.99/1.82 dev 2017-10-07 23:22:31 +02:00
version.rc