Daniel Marjamäki
7ec3715c57
check.h: Cppcheck will be stable by default. Use -DUNSTABLE to make it unstable.
2017-06-03 11:18:00 +02:00
Daniel Marjamäki
1dd1b5606c
Merge pull request #911 from uburuntu/master
...
ENH: perfomance: using clear() and empty() more faster
2017-06-03 11:07:36 +02:00
Alexander Mai
a350e6c7e8
Add more interfaces
2017-06-02 22:58:39 +02:00
uburuntu
f4ce49d883
ENH: perfomance: using clear() and empty() more faster for stl containers
2017-06-02 22:38:00 +04:00
Ayaz Salikhov
f5646183cd
Move comment to the right place
2017-06-02 17:15:24 +03:00
Alexander Mai
dc83f6783e
Fix attributes, add some interfaces
2017-06-02 00:59:13 +02:00
Alexander Mai
5755ac9eeb
Add initial configuration file for Motif
2017-06-02 00:38:29 +02:00
Alexander Mai
b4a58be113
#define HIDE_WRONG_DATA to get release mode build (hiding crashes on invalid AST/symboldatabase). Fix doxygen syntax.
2017-06-01 23:38:02 +02:00
Daniel Marjamäki
b68c8d91ab
Fixed #8039 (Tokenizer: wrong simplification of string)
2017-06-01 22:21:02 +02:00
Daniel Marjamäki
bce0776417
Fixed #7795 (ValueFlow: Value is not known after conditional increment )
2017-06-01 15:16:07 +02:00
Daniel Marjamäki
5efb2e3be0
Visual Studio: Skip unknown platforms (ARM, ARM64)
2017-06-01 13:13:23 +02:00
Ayaz Salikhov
132c0af22a
Simplify some statements
2017-06-01 02:02:12 +03:00
Ayaz Salikhov
3cd2f2d092
Don't cast bool to bool
2017-06-01 01:49:40 +03:00
Ayaz Salikhov
cb58cf8163
.length() > 0 == !.emepty()
2017-06-01 01:42:29 +03:00
Daniel Marjamäki
dc79f9630f
Fixed unit tests
2017-05-30 15:53:54 +02:00
Daniel Marjamäki
1f48b082d1
CLI: Add --output-file flag so results can be written to file directly.
2017-05-30 15:04:28 +02:00
orbitcowboy
318b998742
Merge pull request #909 from scop/spelling
...
Spelling fixes
2017-05-30 08:19:35 +02:00
Ville Skyttä
5ab158fec2
Spelling fixes
2017-05-30 08:03:15 +03:00
Alexander Mai
389b4cdf99
Remove atrribute to cure FP. Run astyle
2017-05-29 20:04:34 +02:00
alexander
49a28d00f9
Add some interfaces + small changes to existing ones
2017-05-29 00:47:24 +02:00
Daniel Marjamäki
26ec339120
wxwidgets.cfg: Define macros which don't necessarily require semicolons at the end
2017-05-28 22:16:44 +02:00
alexander
d5df7e0001
Add entry
2017-05-28 21:35:25 +02:00
Daniel Marjamäki
1961d6d0f7
CppCheck: make sure preprocessor syntax errors are reported
2017-05-28 20:34:58 +02:00
Sam Truscott
956b5812e7
Fixed #7866 (Crash while scanning QML files)
2017-05-28 16:39:18 +02:00
Daniel Marjamäki
25e50e2a98
GUI: minor tweaks. Add tr().
2017-05-28 16:29:41 +02:00
Ameen Ali
5338339c2c
GUI: Add button in statistics window to export statistics to PDF
2017-05-28 16:16:28 +02:00
Steve Browne
b58562fc7d
Added test cases for catching when assignment comes after an operator, compound assignment, or comparison for ticket #7429 and fixed the tests.
2017-05-28 16:00:06 +02:00
Daniel Marjamäki
18adb97873
astyle formatting
...
[ci skip]
2017-05-28 15:56:26 +02:00
Daniel Marjamäki
51858ecc96
bump simplecpp
2017-05-28 15:23:15 +02:00
Daniel Marjamäki
be6e0cbf85
Tokenizer: I dont think its safe to calculate floating point equality comparisons, changing TODO assertion to normal assertion.
2017-05-28 12:34:29 +02:00
Frank Zingsheim
aa937e426d
Fixed #7849 (Tokenizer: Wrong simplification of floating point equality comparison)
2017-05-28 10:53:50 +02:00
Daniel Marjamäki
bbe90bdbdb
daca2: fix comment
2017-05-27 21:12:13 +02:00
Matthias Schmieder
cc8e80e03f
removed ‘has_key’ function and used ‘in’ instead to make the code python2 and python3 compatible
2017-05-27 11:29:44 +02:00
amai
624ceb5027
Fix includes for cygwin
2017-05-27 10:23:06 +02:00
Abigail
55733fb987
Write HTML report as UTF-8
...
When source code contains non-ASCII characters, `cppcheck-htmlreport`
currently dies with an error like:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019'
in position 80673: ordinal not in range(128)
This is because even though the source code is read as UTF-8, and
HTML_HEAD specifies that the file should be read as UTF-8, the output
file is opened with the default encoding (ascii).
2017-05-27 10:20:45 +02:00
Ayaz Salikhov
28aa939d69
iwyu - include what you use
2017-05-27 04:33:47 +02:00
uburuntu
809ccc7b7f
not initialized members in constructor I dont know how to fix, so left comments about it
2017-05-27 04:18:19 +02:00
uburuntu
3817384223
FIX: test: parameter 'settings' is always rewritten
2017-05-27 04:17:18 +02:00
uburuntu
d41d091c07
ENH: perfomance: seeking of one char is more efficiently
2017-05-27 04:15:54 +02:00
Daniel Marjamäki
a1081f961c
Bump simplecpp
2017-05-26 16:45:07 +02:00
amai
45ba1ff1e3
#8079 SymbolDatabase::createSymbolDatabaseEnums() crashes on invalid enum declaration
2017-05-25 09:50:14 +02:00
Daniel Marjamäki
1dd42d9a9e
arrayIndexOutOfBounds: Make sure error message is clarified for daca2 --template format
2017-05-25 08:18:37 +02:00
Daniel Marjamäki
0262020707
--template: Removed 'clang' and renamed 'cppcheck2' to 'daca2'
2017-05-25 05:24:42 +02:00
Daniel Marjamäki
dda5556ded
Fixed #8034 (AST: better handling for c++ type initialization)
2017-05-24 20:24:56 +02:00
Daniel Marjamäki
5444875f89
Fixed #8034 (AST: better handling for c++ type initialization)
2017-05-24 20:18:31 +02:00
Daniel Marjamäki
099b4435c3
Fixed #8074 (Preprocessor::getConfigs: wrong configuration extracted 'A;B;;')
2017-05-24 11:16:41 +02:00
Matthias Krüger
3930f2d6bc
try to fix "make" target (was broken due to missing comment-char).
2017-05-24 00:25:14 +02:00
amai
cea82c4ee9
Add validateCFG target to validate library files against RNG
2017-05-24 00:07:59 +02:00
Daniel Marjamäki
93e0516291
Fixed #8009 (Tokenizer: fix handling of template rvalue references)
2017-05-23 18:55:17 +02:00
Daniel Marjamäki
70c2de62b7
arrayIndexOutOfBounds: better note
2017-05-23 16:06:32 +02:00