cppcheck/lib
Oliver Stöneberg 1388e9385b
cleaned up setting of compiler options and a few more things in CMake (#2599)
* cleaned up compiler options related code in CMake

* moved cmake_minimum_required() and raised to latest 2.8.x version

* use proper compiler version check / print compiler version

* fixed linking of sanitized builds

* added proper version checks to newer Clang warnings and enabled them / moved tinyxml_objs flags to proper compiler

* disabled -Wdeprecated-declarations for Clang

* compileroptions.cmake: removed unnecessary check for clang++ existence - CMAKE_CXX_COMPILER_ID is determined by CMake

* printInfo.cmake: removed unnecessary message for ANALYZE_ADDRESS - LSAN is part of ASAN and enabled by default

* cleaned up if() comparisons in CMake

* added/adjusted TODOs
2020-04-22 11:04:19 +02:00
..
CMakeLists.txt cleaned up setting of compiler options and a few more things in CMake (#2599) 2020-04-22 11:04:19 +02:00
analyzerinfo.cpp GUI: Generate Clang files 2020-02-02 11:05:30 +01:00
analyzerinfo.h Updated copyright year 2018-10-13 18:20:31 +02:00
astutils.cpp Fixed #8916 (FP: followVar does not seem to handle non-const method call properly) 2020-04-18 19:54:55 +02:00
astutils.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
check.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
check.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
check64bit.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
check64bit.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkassert.cpp Consider pre{inc,dec}rements on assert checks (#2605) 2020-04-18 09:26:24 +02:00
checkassert.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkautovariables.cpp Fix issue 9677: False positive: returning pointer to oject that will not be invalid (#2607) 2020-04-18 09:23:10 +02:00
checkautovariables.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkbool.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkbool.h Fix false negatives in checkBitwiseOnBoolean (#2220) 2019-10-06 09:57:31 +02:00
checkboost.cpp Rename _tokenizer, _settings, _errorLogger 2018-06-16 16:10:28 +02:00
checkboost.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkbufferoverrun.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
checkbufferoverrun.h astyle formatting 2020-04-13 13:48:05 +02:00
checkclass.cpp Fixed #9679 (False positive: use this after free (lambda not executed directly)) 2020-04-17 20:20:45 +02:00
checkclass.h New check: delete 'self pointer' that might be used as 'this' and then use some member/method 2020-02-18 18:24:18 +01:00
checkcondition.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
checkcondition.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkexceptionsafety.cpp Refactoring; Use range for loops 2018-07-14 09:49:03 +02:00
checkexceptionsafety.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkfunctions.cpp Bugfix valuetype for some integer constants (#2545) 2020-02-19 07:51:39 +01:00
checkfunctions.h Replace 'unsigned' with 'nonneg' in checkfunctions 2019-07-16 08:49:02 +02:00
checkinternal.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkinternal.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkio.cpp Fix #8489 (Fix FN printf argument with parenthesis) (#2508) 2020-01-27 06:55:01 +01:00
checkio.h replace 'unsigned' with 'nonneg' in checkio 2019-07-16 08:37:26 +02:00
checkleakautovar.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
checkleakautovar.h Fix #7031 (improve error message for memory related warnings) (#2204) 2019-09-22 21:50:02 +02:00
checkmemoryleak.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkmemoryleak.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checknullpointer.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checknullpointer.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkother.cpp Rename constArgument to knownArgument (#2616) 2020-04-22 09:13:35 +02:00
checkother.h Rename constArgument to knownArgument (#2616) 2020-04-22 09:13:35 +02:00
checkpostfixoperator.cpp Refactoring: Use ranged for loop 2018-07-13 16:50:12 +02:00
checkpostfixoperator.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checksizeof.cpp Update Copyright 2019-06-29 07:49:14 +02:00
checksizeof.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkstl.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkstl.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkstring.cpp Set correct type and size of string and char literals (#2275) 2019-10-20 07:11:57 +02:00
checkstring.h Checkstring fixes (#1783) 2019-04-06 06:54:38 +02:00
checktype.cpp Fix severity of c++14 shifts with too many bits (#2213) 2019-09-25 20:16:04 +02:00
checktype.h Clarify signConversion warning message 2019-08-05 12:41:08 +02:00
checkuninitvar.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkuninitvar.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
checkunusedfunctions.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
checkunusedfunctions.h Silence unused variable warning (#2223) 2019-09-27 08:19:45 +02:00
checkunusedvar.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
checkunusedvar.h Clarify error msg for hidingInheritedPublic (#2474) 2020-01-05 09:32:39 +01:00
checkvaarg.cpp Clang import 2020-01-25 17:01:17 +01:00
checkvaarg.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
clangimport.cpp Clang import; Ensure Function::arg is set 2020-04-13 13:37:34 +02:00
clangimport.h Clang import; Rename files/namespace 2020-01-10 16:29:06 +01:00
config.h Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
cppcheck.cpp Clang import: Better bailout for syntax errors when build dir is not used 2020-04-22 10:27:44 +02:00
cppcheck.h Support clang tidy (#2486) 2020-01-30 07:14:17 +01:00
cppcheck.natvis Fixed Visual Studio Natvis file after recent refactoring (#1299) 2018-07-09 08:27:26 +02:00
cppcheck.vcxproj Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
cppcheck.vcxproj.filters Clang import; Rename files/namespace 2020-01-10 16:29:06 +01:00
ctu.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
ctu.h CTU: Add 'column' 2019-09-12 10:46:33 +02:00
errorlogger.cpp Import Clang ast dump (experimental) 2020-01-05 15:12:53 +01:00
errorlogger.h Rename Verification => Bughunting 2020-01-18 07:25:57 +01:00
exprengine.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
exprengine.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
forwardanalyzer.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
forwardanalyzer.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
importproject.cpp add command line option to select single project configuration of loaded solution (#2523) 2020-04-19 18:19:28 +02:00
importproject.h add command line option to select single project configuration of loaded solution (#2523) 2020-04-19 18:19:28 +02:00
lib.pri Add generic valueflow forward analysis (#2511) 2020-02-13 16:27:06 +01:00
library.cpp Use library config for unstable containers instead of hardcoded values (#2585) 2020-04-03 13:16:57 +02:00
library.h Use library config for unstable containers instead of hardcoded values (#2585) 2020-04-03 13:16:57 +02:00
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp Bugfix valuetype for some integer constants (#2545) 2020-02-19 07:51:39 +01:00
mathlib.h Update copyright year 2019-02-09 07:24:06 +01:00
path.cpp Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
path.h Update copyright year 2019-02-09 07:24:06 +01:00
pathanalysis.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
pathanalysis.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02: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 pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
platform.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
platform.h Resolve sign mismatch warnings 2020-03-19 18:22:55 +03:00
preprocessor.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
preprocessor.h Update Copyright year 2019-12-21 11:23:01 +01:00
programmemory.cpp astyle formatting 2020-02-21 16:18:41 +01:00
programmemory.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
settings.cpp Add Support For Configuring Addon Python Interpreter Version (#2591) 2020-04-05 10:57:28 +02:00
settings.h Tokenizer: Improved removal of unused template (#9588) 2020-04-20 20:48:22 +02:00
standards.h Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
suppressions.cpp cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
suppressions.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
symboldatabase.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
symboldatabase.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
templatesimplifier.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
templatesimplifier.h Resolve C4800 Visual C++ warning 2019-12-16 18:11:12 +03:00
timer.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
timer.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
token.cpp fixes for Clang and clang-tidy 10 (#2588) 2020-04-04 11:44:59 +02:00
token.h fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
tokenize.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
tokenize.h Report unknown macros for pattern '%name% %num%' 2020-02-22 11:57:36 +01:00
tokenlist.cpp Fixes issue #9664 (#2614) 2020-04-20 08:59:35 +02:00
tokenlist.h cleaned up includes based on include-what-you-use (#2600) 2020-04-13 13:44:48 +02:00
utils.h astyle formatting 2020-01-24 21:34:47 +01:00
valueflow.cpp fixed -Wextra-semi-stmt Clang warnings (#2553) 2020-04-21 17:27:51 +02:00
valueflow.h Fix issue 9360: False positive: arrayIndexOutOfBounds when function is called with different array sizes (#2541) 2020-02-17 10:31:08 +01:00
valueptr.h astyle formatting 2020-02-13 17:04:05 +01:00
version.h Set version 2019-12-21 11:49:01 +01:00
version.rc Refactorized resource files: 2012-10-14 10:21:22 +02:00