cppcheck/test
Rikard Falkeborn ff9c04dc28
Improve isSameExpression for literals (#2514)
Improve isSameExpression() for literals with same value but different
representation, for example  the following different ways of
representing 9 as double: 9.0, 0.9e1 and 0x1.2p3.

With this change, cppcheck can (for example) correctly detect that the
else if statements are always false in the following example:

	void f(double x) {
		if (x < 9.0) {}
		else if (x < 0x1.2p3) {}
		else if (x < 0.9e1) {}
	}
2020-02-01 07:22:41 +01:00
..
bug-hunting test/bug-hunting: add --clang option to the juliet testing 2020-01-20 18:53:40 +01:00
cfg googletest.cfg; add MATCHER (#2485) 2020-01-12 08:11:58 +01:00
cli Check selected files from project (#2378) 2020-01-10 08:57:37 +01:00
synthetic Improve Python code 2017-06-05 13:23:00 +02:00
testsuites Rename test cases, 'verification' was renamed to 'bug hunting' 2020-01-15 21:11:04 +01:00
CMakeLists.txt Fix 9298 (#2476) 2020-01-09 08:47:36 +01:00
options.cpp
options.h Update Copyright 2019-06-29 07:49:14 +02:00
redirect.h
test.cxx
test64bit.cpp
testassert.cpp Moved CheckAssert::assertWithSideEffects to normal checking 2019-03-09 16:50:50 +01:00
testastutils.cpp Improve isSameExpression for literals (#2514) 2020-02-01 07:22:41 +01:00
testautovariables.cpp Fix issue 9482: False positive: Reference to temporary returned using trailing return type (#2413) 2019-12-01 15:10:02 +01:00
testbool.cpp Fixed #9405 (false positive: (style, inconclusive) Boolean expression 'dqOpen' is used in bitwise operation. Did you mean '&&') 2019-12-20 19:38:30 +01:00
testboost.cpp
testbufferoverrun.cpp Fix issue 9554: False positive: The address of local variable 'x' is accessed at non-zero index. (#2470) 2020-01-04 11:39:52 +01:00
testcharvar.cpp
testclangimport.cpp Clang import; distinguish static variable 2020-01-27 13:00:52 +01:00
testclass.cpp Removing check hidingInheritedPublic (#2482) 2020-01-09 06:53:08 +01:00
testcmdlineparser.cpp Convert SHOWTIME_MODES to enum class 2019-07-31 22:35:51 +02:00
testcondition.cpp Fix issue 9541: false negative: knownConditionTrueFalse (#2473) 2020-01-05 16:25:33 +01:00
testconstructors.cpp Revert "#9391 Detecting uninited member variables with default ctor (#2249)" 2019-10-09 08:17:47 +02:00
testcppcheck.cpp Rename Verification => Bughunting 2020-01-18 07:25:57 +01:00
testerrorlogger.cpp errorlogger.cpp: Handle empty file-name like "*" (unmatchedSuppression) (#2440) 2019-12-11 09:07:18 +01:00
testexceptionsafety.cpp
testexprengine.cpp ExprEngine: Handle variable annotations better 2020-01-21 18:55:07 +01:00
testfilelister.cpp
testfunctions.cpp Improve test coverage for invalid use of bool parameters 2019-11-22 18:11:38 +03:00
testgarbage.cpp Fix #8758 (add syntax error for invalid code) (#2466) 2020-01-01 15:46:09 +01:00
testimportproject.cpp Ticket 5607: Allow to exclude folders with glob pattern (#2498) 2020-01-24 07:06:09 +01:00
testincompletestatement.cpp Fixed #9335 (FP constStatement "Found a statement that begins with string constant") 2019-11-28 17:49:33 +01:00
testinternal.cpp fix #8965 ("(debug) Executable scope 'x' with unknown function." with rvalue parameter in method) (#2237) 2019-10-04 12:30:11 +02:00
testio.cpp Fix #8489 (Fix FN printf argument with parenthesis) (#2508) 2020-01-27 06:55:01 +01:00
testleakautovar.cpp Fix 9298 (#2476) 2020-01-09 08:47:36 +01:00
testlibrary.cpp Fix issue 9428: FP uninitvar for pointer passed to sscanf (#2344) 2019-11-13 12:46:54 +01:00
testmathlib.cpp Improve test coverage for reading numbers represented as strings 2020-01-21 19:29:33 +03:00
testmemleak.cpp Avoid some additional memleakOnRealloc false positives (#2422) 2019-12-04 12:13:44 +01:00
testnullpointer.cpp Astyle formatting [ci skip] 2020-01-05 17:00:34 +01:00
testoptions.cpp
testother.cpp astyle formatting 2020-01-10 11:31:12 +01:00
testpath.cpp
testpathmatch.cpp
testplatform.cpp
testpostfixoperator.cpp Valid code for incrementing raw pointer (#2418) 2019-12-03 18:33:05 +01:00
testpreprocessor.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
testrunner.cpp
testrunner.vcxproj Ticket 5607: Allow to exclude folders with glob pattern (#2498) 2020-01-24 07:06:09 +01:00
testrunner.vcxproj.filters Ticket 5607: Allow to exclude folders with glob pattern (#2498) 2020-01-24 07:06:09 +01:00
testsamples.cpp Remove unneeded string copy 2019-11-19 10:19:13 +03:00
testsimplifytemplate.cpp fix #9539 (Syntax error for valid C++14 code) (#2446) 2019-12-12 20:50:20 +01:00
testsimplifytokens.cpp Improve test coverage for simplification of bitwise operations 2020-01-30 18:21:22 +03:00
testsimplifytypedef.cpp Fix #9446 (Syntax error on valid C++ code) (#2316) 2019-11-01 09:11:29 +01:00
testsimplifyusing.cpp Fix 9518 (Syntax error on valid C++) (#2424) 2019-12-05 20:51:36 +01:00
testsizeof.cpp Improve test coverage 2019-11-01 18:41:10 +03:00
teststl.cpp Fix 9546: properly check that the bound is the size (#2475) 2020-01-05 16:24:25 +01:00
teststring.cpp Set correct type and size of string and char literals (#2275) 2019-10-20 07:11:57 +02:00
testsuite.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
testsuite.h Rename Verification => Bughunting 2020-01-18 07:25:57 +01:00
testsuppressions.cpp Ticket 5607: Allow to exclude folders with glob pattern (#2498) 2020-01-24 07:06:09 +01:00
testsymboldatabase.cpp Fixed #9591 (SymbolDatabase: decltype) 2020-01-29 17:29:40 +01:00
testthreadexecutor.cpp
testtimer.cpp
testtoken.cpp Token::ConcatStr(): Handle mixed string literals (#2337) 2019-11-08 08:03:45 +01:00
testtokenize.cpp Ticket #9569: Do not substitute type aliases within enum definitions. (#2504) 2020-01-25 10:18:37 +01:00
testtokenlist.cpp
testtype.cpp Fix severity of c++14 shifts with too many bits (#2213) 2019-09-25 20:16:04 +02:00
testuninitvar.cpp Fixed #8998 (False positive uninitStructMember related to reference to member) 2019-12-19 20:18:32 +01:00
testunusedfunctions.cpp TestSuite: The ASSERT and ASSERT_EQUALS will now stop executing the test case upon failure. This can be used to avoid extra guard logic in tests. 2019-09-16 06:34:45 +02:00
testunusedprivfunc.cpp
testunusedvar.cpp Fixed #8990 (False positive: struct member not used (union)) 2019-12-20 18:31:55 +01:00
testutils.cpp Ticket 5607: Allow to exclude folders with glob pattern (#2498) 2020-01-24 07:06:09 +01:00
testutils.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
testvaarg.cpp
testvalueflow.cpp Fix 9577 (endless recursion in Valueflow::bifurcate()) (#2492) 2020-01-17 03:17:26 +01:00
testvarid.cpp Tokenizer::setVarId: better handling of decltype() 2020-01-29 17:40:22 +01:00