Dmitry-Me
499e15d96a
Cleanup variable names, omit redundant actions
2016-01-11 13:04:52 +03:00
Daniel Marjamäki
f8306383b1
Remove redundant variable
2016-01-10 22:30:24 +01:00
Daniel Marjamäki
414bdc30a9
Fixed #7276 (VarId: Missing varId in template class constructor initialization lists)
2016-01-10 22:10:49 +01:00
Daniel Marjamäki
760d5ab7f9
Try to fix travis. use Token::simpleMatch instead of Token::Match.
2016-01-10 21:00:42 +01:00
Daniel Marjamäki
4269702755
Fixed #7266 (False positive shiftTooManyBits with macros)
2016-01-10 20:44:52 +01:00
Daniel Marjamäki
b3208fb4b3
Fixed #7211 (False positive: Finding the same expression on both sides of an operator (enumconstant == 0))
2016-01-10 11:21:43 +01:00
PKEuS
f47e05b6a7
Set version to 1.72.99/1.73 dev
2016-01-10 10:10:33 +01:00
Daniel Marjamäki
02c631a76e
minor updates of createrelease
2016-01-09 15:37:10 +01:00
Daniel Marjamäki
4d7ac522aa
Makefile: Set debug mode
2016-01-09 15:12:11 +01:00
Daniel Marjamäki
36ec2ec421
1.72: Updated Makefile
2016-01-09 14:50:01 +01:00
Daniel Marjamäki
a2b0d3cec8
1.72: Set version
2016-01-09 14:43:29 +01:00
Daniel Marjamäki
890ceea3bf
1.72: Set version
2016-01-09 14:41:54 +01:00
Daniel Marjamäki
e26b17e6c1
Updated AUTHORS
2016-01-09 14:39:40 +01:00
Daniel Marjamäki
7191733981
Fixed #7192 (False positive: uninitMemberVar when base class is in another namespace)
2016-01-09 12:18:36 +01:00
Daniel Marjamäki
e038dd9663
Fixed #7271 (Suppress warning about non-existing path given to -I with --quiet.)
2016-01-09 11:19:51 +01:00
PKEuS
2a30e2bc01
Fixed bug in german translation
2016-01-09 11:00:32 +01:00
PKEuS
bd202ba20a
Ran lupdate gui.pro, updated german translation
2016-01-09 10:51:42 +01:00
Daniel Marjamäki
bcba1a7130
platforms: set bit values when --platform=<file> is used
2016-01-09 10:26:48 +01:00
Daniel Marjamäki
77b6122f82
platform files: s/u/unsigned/ in default-sign
2016-01-09 10:23:23 +01:00
Daniel Marjamäki
26c8c0e09d
manual: Added information about platform configuration
2016-01-09 10:23:17 +01:00
PKEuS
7b99a00ce8
Added platform files to windows installer
2016-01-09 09:58:38 +01:00
PKEuS
8f493612e6
Refactorization: Removed unused function declaration from Tokenizer and fixed prototype of SymbolDatabase::cppcheckError
2016-01-09 09:34:31 +01:00
PKEuS
37fefe3479
Removed non-standard code annotations with __attribute__
2016-01-09 09:33:56 +01:00
Daniel Marjamäki
24739869ba
GUI: Renamed 'Builtin' to 'Native'
2016-01-08 19:56:09 +01:00
Daniel Marjamäki
0b9d8ae0f1
astyle formatting
...
[ci skip]
2016-01-08 15:24:05 +01:00
Aleksandr Pikalev
e92bbf6481
Fixed #7275 - Make GUI tests buildable
...
* Use -std=c++11 flag for gcc and clang
* Use $$PWD variable in qmake files to have correct paths
* Change tokenizer.simplifyTokenList() to tokenizer.simplifyTokenList2()
* Add build-generated files to .gitignore
* Link libpcre only if rules are enabled
2016-01-08 15:21:36 +01:00
amai2012
bd2892fde4
Ticket #7270 segmentation fault (invalid code) in Tokenizer::simplifyLabelsCaseDefault. include fix for cygwin
2016-01-08 11:59:02 +01:00
Martin Ettl
7cb27d91c4
dmake: Added -Wno-multichar flag.
2016-01-08 11:40:54 +01:00
Martin Ettl
459f5948f6
Merge branch 'master' of https://github.com/danmar/cppcheck
2016-01-08 11:31:00 +01:00
Martin Ettl
d357229da5
windows.cfg: Improved support for strdup functions.
2016-01-08 11:30:39 +01:00
Daniel Marjamäki
794e64bb29
Platforms files: Added unix32-unsigned and unix64-unsigned. Not sure what extension to use for platform files, chose .xml now.
2016-01-08 11:17:32 +01:00
Martin Ettl
8082e8130e
gnu.cfg: Added support fro functions from arpa/inet.h.
2016-01-08 10:59:00 +01:00
Martin Ettl
4bbe8c28cd
Merge branch 'master' of https://github.com/danmar/cppcheck
2016-01-07 20:41:59 +01:00
Martin Ettl
1cb01bae09
windows.cfg: Added support for _vsnprintf and _vsnwprintf functions.
2016-01-07 20:41:26 +01:00
Daniel Marjamäki
ec733e7e71
CLI: added --platform=<file> interface
2016-01-07 20:19:08 +01:00
Daniel Marjamäki
a014920280
Fixed #7260 (ValueType: in C++ the result of 'sint >> unknowntype' has unknown type)
2016-01-07 10:46:19 +01:00
Daniel Marjamäki
88a525aca7
Fixed #7267 (Tokenizer::setVarId: wrongly sets varId in cast with unknown type)
2016-01-06 17:47:59 +01:00
Daniel Marjamäki
b2386fa011
minor refactoring, use 'else if' when appropriate
2016-01-06 15:49:44 +01:00
Daniel Marjamäki
c70764631f
Merge pull request #749 from Godin/master
...
"cppcheck --errorlist" should include "assignBoolToFloat"
2016-01-05 20:39:57 +01:00
Roberto Martelloni
5c1965a6e0
Added mapped CWE IDs to reportErr function calls
2016-01-05 20:37:39 +01:00
Daniel Marjamäki
58e28cb00e
ValueType: Better handling of unsigned unknown types
2016-01-05 19:47:11 +01:00
Evgeny Mandrikov
fed4bb1b8f
"cppcheck --errorlist" should include "assignBoolToFloat"
2016-01-05 18:42:49 +01:00
Daniel Marjamäki
5b6c684905
Merge pull request #747 from 3adev/apply-autopep8
...
Run all Python code through autopep8
2016-01-05 14:11:47 +01:00
Albert ARIBAUD (3ADEV)
97b43c78ce
Run all Python code through autopep8
...
Run all Python code through autopep8 as follows:
autopep8 -ri --ignore=E261,E262,E302 --max-line-length 1000 .
E261 or E262 would cause spaces after a comment's hash sign
to be squashed. Since some of the comments in cppcheck's
Python code have space-indented code examples, not ignoring
E261 or E262 would wreck the formatting of those examples.
E302 prevents autopep8 from adding some blank lines.
setting --max-line-width ensures no line will be wrapped.
2016-01-05 13:30:32 +01:00
Daniel Marjamäki
6f3ae7132e
Merge pull request #748 from 3adev/remove-tool-argparse-py
...
Remove tools/argparse.py
2016-01-05 13:18:23 +01:00
Daniel Marjamäki
125d2f7a36
Some initial support for platforms that doesn't have 8-bit char
2016-01-05 13:16:00 +01:00
Albert ARIBAUD (3ADEV)
4b247c94dd
Remove tools/argparse.py
...
As cppcheck only supports Python 2.7 and 3, and as
both provide argparse already, we can remove the
one in cppcheck.
build/*.cpp, as generated with "make SRCBUILD=build",
is strictly unchanged by this removal.
2016-01-05 10:25:12 +01:00
Matthias Krüger
b73090c351
travis: update checked clang version
2016-01-04 22:35:18 +01:00
Daniel Marjamäki
a0971355b7
Tweaked Tokenizer::simplifyAsm2()
2016-01-04 19:18:10 +01:00
Daniel Marjamäki
97dccefe3d
Merge pull request #746 from 3adev/fix-trim-in-preprocessor
...
Fix trim() in lib/Preprocessor.cpp
2016-01-04 16:58:12 +01:00