PKEuS
fbbdfa85ca
Revert "Fixed false negative #5815 "
...
This reverts commit dc6c278d83
.
2015-09-09 14:46:47 +02:00
Dmitry-Me
fdfddde496
Reuse cached value
2015-09-09 15:29:06 +03:00
Daniel Marjamäki
47f64df8aa
minor refactoring
2015-09-09 10:08:37 +02:00
orbitcowboy
42b3bc68a5
Merge branch 'master' of https://github.com/danmar/cppcheck
2015-09-09 08:53:22 +02:00
orbitcowboy
2f5fd66d00
#6577 : Added test cases to test/posix.c. They demonstrate that there is still a false negative.
2015-09-09 08:53:12 +02:00
Matthias Krüger
49e2573b5c
fix -Wodr warning/violation putting struct 'VarInfo' into anonyous namespace
...
Was:
lib/checkclass.cpp:1994:8: warning: type ‘struct VarInfo’ violates one definition rule [-Wodr]
struct VarInfo {
^
lib/checkleakautovar.h:32:7: note: a different type is defined in another translation unit
class CPPCHECKLIB VarInfo {
^
lib/checkclass.cpp:1998:21: note: the first difference of corresponding definitions is field ‘var’
const Variable *var;
^
lib/checkleakautovar.h:40:39: note: a field with different name is defined in another translation unit
std::map<unsigned int, AllocInfo> alloctype;
2015-09-08 16:57:28 +02:00
orbitcowboy
e929e9e7d9
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-08 16:08:43 +02:00
orbitcowboy
60770a8fdc
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-08 15:43:22 +02:00
Daniel Marjamäki
a32aa03035
GUI: Library editor - rename function
2015-09-08 15:38:02 +02:00
orbitcowboy
7d229f082c
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-08 11:45:13 +02:00
orbitcowboy
4f1e7ec9d3
Merge pull request #674 from Dmitry-Me/omitUnneededActions5
...
Omit unneeded match checks
2015-09-07 17:54:24 +02:00
Dmitry-Me
662e3c8b8c
Omit unneeded match checks
2015-09-07 18:35:15 +03:00
orbitcowboy
03495360d8
test/cfg: Improved testing of std.cfg regarding uninitialized variables.
2015-09-07 16:57:34 +02:00
Daniel Marjamäki
d88dc3ed3e
Reverted 00c54df07c
(don't remove enum declarations) because it caused unexpected false positives
2015-09-06 18:37:22 +02:00
Daniel Marjamäki
00c54df07c
Tokenizer: Don't remove enum declarations
2015-09-06 17:44:49 +02:00
Daniel Marjamäki
4cffff7bde
GUI: tweaks in library dialog for sorting and filter
2015-09-06 14:54:21 +02:00
Daniel Marjamäki
9f31414179
GUI: Library editor - added sort button and filter edit box
2015-09-06 14:20:27 +02:00
Daniel Marjamäki
65d246aea2
GUI: Library editor - edit argument when user double clicks on it
2015-09-06 10:38:01 +02:00
Daniel Marjamäki
ddfc766375
GUI: indentation of cfg files
2015-09-06 09:10:45 +02:00
Daniel Marjamäki
0e5f7fe567
GUI: fixes to save cfg files properly in the library editor
2015-09-06 08:48:13 +02:00
Daniel Marjamäki
c8662a7880
Reverted changes to std.cfg. It somehow causes test failures.
2015-09-05 20:36:22 +02:00
Daniel Marjamäki
ff0f4cef16
GUI: Add handling of containers to CppcheckLibraryData
2015-09-05 20:13:26 +02:00
Alexander Mai
0d7d1e8350
Add 'run-dmake' as PHONY target to Makefile to avoid linking dmake always
2015-09-05 17:12:15 +02:00
Alexander Mai
b46df3d551
Correct attriutes for raise() in library
2015-09-05 16:58:46 +02:00
PKEuS
5c348890b2
Preserve varId in simplifyArrayAccessSyntax ( #6523 )
2015-09-05 13:14:08 +02:00
Alexander Mai
8a7d62cec8
Merge branch 'master' of https://github.com/danmar/cppcheck
2015-09-05 13:10:13 +02:00
Alexander Mai
9255173267
Correct signal attributes in library
2015-09-05 13:09:56 +02:00
PKEuS
eec6914e44
Removed deprecated options --exitcode-suppressions and --suppressions, print an error when they are used
2015-09-05 12:13:58 +02:00
Daniel Marjamäki
40bd3de9b3
GUI: rewrote library dialog xml input/output
2015-09-05 11:37:55 +02:00
Martin Ettl
8ffa96975a
test/cfg/: Removed invalid test case.
2015-09-05 09:44:43 +02:00
Alexander Mai
890343dad0
Add regression tests for #678,#6834 - crashes on garbage code
2015-09-05 08:38:50 +02:00
Alexander Mai
d0ab00b100
Correct library std.cfg about setjmp
2015-09-05 07:00:22 +02:00
Martin Ettl
bcb7dce97e
Fix Travis build.
2015-09-04 23:50:50 +02:00
Martin Ettl
6304eb35f9
Improved testing of std.cfg regarding uninitialized variables.
2015-09-04 23:45:31 +02:00
Martin Ettl
27b3461e84
Fixed #6974 - false negative: uninitialized variable not detected (signal).
2015-09-04 22:48:00 +02:00
Philipp Kloke
687bde8af5
Set version to 1.70.99/1.71 dev
2015-09-04 21:10:05 +02:00
Daniel Marjamäki
f5c6561e18
GUI: Readd library editor
2015-09-04 20:46:26 +02:00
Daniel Marjamäki
34793ee7ce
Makefile: debug
2015-09-04 20:25:10 +02:00
Daniel Marjamäki
41d7e8e1f0
GUI: Quick fix for a crash when mContextItem->parent() is NULL
2015-09-04 20:04:31 +02:00
Daniel Marjamäki
6479256f11
1.70: Updated Makefile
2015-09-04 19:39:01 +02:00
Daniel Marjamäki
dafba604ff
1.70: Set versions
2015-09-04 19:36:34 +02:00
Daniel Marjamäki
c7a3b7814e
Updated AUTHORS
2015-09-04 19:31:49 +02:00
orbitcowboy
6dbeeb1cdb
Merge pull request #673 from Dmitry-Me/consistentVariableName
...
Consistent variable name
2015-09-04 16:40:46 +02:00
Dmitry-Me
e9cb3d8c97
Consistent variable name
2015-09-04 17:00:44 +03:00
orbitcowboy
c1120c1df4
Merge pull request #672 from Dmitry-Me/fixSpelling
...
Fix spelling
2015-09-04 15:39:03 +02:00
orbitcowboy
267e0b7104
Merge pull request #671 from Dmitry-Me/omitUnneededActions4
...
Omit unneded action
2015-09-04 15:38:46 +02:00
Dmitry-Me
e377a2e9b2
Fix spelling
2015-09-04 16:12:40 +03:00
Dmitry-Me
31014fe334
Omit unneded action
2015-09-04 16:06:20 +03:00
PKEuS
1aa958d60c
Updated VS solution with VS2015 as default. Added flags /Zc:inline and /Zc:throwingNew.
2015-09-04 14:30:54 +02:00
Daniel Marjamäki
b7bac8c920
GUI: Disable and hide library editor for now. It will be readded after the release.
2015-09-04 14:20:49 +02:00