cppcheck/lib
Sebastian c990d10ffa
Check for JSON error when parsing addon .json files + fixes (#2374)
* cppcheck.cpp: Check for JSON error when parsing addon .json files

This fixes that errors in JSON files given via `--addon=*.json` are
silently ignored and maybe only a part of the JSON file is used.
Now the error message which picojson can return is checked and a
corresponding error message is returned again by getAddonInfo().

* naming.json: Fix missing comma

* CLI: Fix naming violations detected by addon naming.py via naming.json

* Addon naming: Add argument for validating names of constants

* LIB: Rename functions/variables so they are valid, loosen naming rules

* GUI: Fix naming violations
2019-11-20 15:37:09 +01:00
..
CMakeLists.txt
analyzerinfo.cpp
analyzerinfo.h
astutils.cpp
astutils.h
check.cpp
check.h
check64bit.cpp
check64bit.h
checkassert.cpp
checkassert.h
checkautovariables.cpp
checkautovariables.h
checkbool.cpp
checkbool.h
checkboost.cpp
checkboost.h
checkbufferoverrun.cpp
checkbufferoverrun.h
checkclass.cpp
checkclass.h
checkcondition.cpp Fixed #9285 (Misleading warning message) 2019-11-16 17:24:54 +01:00
checkcondition.h
checkexceptionsafety.cpp
checkexceptionsafety.h
checkfunctions.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkfunctions.h
checkinternal.cpp
checkinternal.h
checkio.cpp
checkio.h
checkleakautovar.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkleakautovar.h
checkmemoryleak.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkmemoryleak.h
checknullpointer.cpp
checknullpointer.h
checkother.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkother.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkpostfixoperator.cpp
checkpostfixoperator.h
checksizeof.cpp
checksizeof.h
checkstl.cpp
checkstl.h
checkstring.cpp
checkstring.h
checktype.cpp
checktype.h
checkuninitvar.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkuninitvar.h
checkunusedfunctions.cpp
checkunusedfunctions.h
checkunusedvar.cpp CheckUnusedVar: Quick heuristic so we don't bailout for 'auto' variables 2019-11-17 15:44:57 +01:00
checkunusedvar.h
checkvaarg.cpp
checkvaarg.h
config.h
cppcheck.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
cppcheck.h
cppcheck.natvis
cppcheck.vcxproj
cppcheck.vcxproj.filters
ctu.cpp
ctu.h
errorlogger.cpp
errorlogger.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
exprengine.cpp
exprengine.h
importproject.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
importproject.h
lib.pri
library.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
library.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
matchcompiler.h
mathlib.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
mathlib.h
path.cpp
path.h
pathanalysis.cpp
pathanalysis.h
pathmatch.cpp
pathmatch.h
pcrerules.pri
platform.cpp
platform.h
preprocessor.cpp
preprocessor.h
programmemory.cpp
programmemory.h
settings.cpp
settings.h
standards.h
suppressions.cpp
suppressions.h
symboldatabase.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
symboldatabase.h Improved fix for #8978 (False positive: Variable assigned value that is never used when assigning via iterator) 2019-11-17 12:08:21 +01:00
templatesimplifier.cpp Fix #9483 (Assertion `tok && tok->str() == ">"' failed) (#2381) 2019-11-20 07:02:25 +01:00
templatesimplifier.h
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
token.h
tokenize.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
tokenize.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
tokenlist.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
tokenlist.h
utils.h
valueflow.cpp Fix issue 9437: Dont assume init list constructor for strings (#2366) 2019-11-17 03:22:04 +01:00
valueflow.h
version.h
version.rc