Dmitry-Me
afe659cc88
This variable type looks very suspicious
2016-01-18 09:52:35 +03:00
Daniel Marjamäki
d656e3a056
Fixed #7103 (isReturnScope: handling 'return (bstr){0};')
2016-01-17 12:38:49 +01:00
Matthias Krüger
c676f626b9
run dmake
2016-01-16 19:13:53 +01:00
Daniel Marjamäki
d54f4f9c65
Fix TestAstUtils
2016-01-16 19:08:51 +01:00
Daniel Marjamäki
522de81cc7
Refactoring: Move isReturn() to astutils and rename it to isReturnScope()
2016-01-16 18:52:34 +01:00
Akhilesh Nema
efff2c5397
Fixed #7294 (GUI: Add option in 'Settings' for 'Statistics Dialog' display.)
2016-01-16 17:43:57 +01:00
Akhilesh Nema
06ded4a3d4
Fixed #7240 (GUI: Result tree Context Menu should show default editor application only.)
2016-01-16 15:19:06 +01:00
Daniel Marjamäki
d39097f52a
Removed redundant null pointer check
2016-01-16 14:15:51 +01:00
Daniel Marjamäki
ca7ec25b92
Merge pull request #708 from siemens/preprocessor-directives-for-addons-v2
...
Add preprocessor directives dump and Y2038 addon
2016-01-16 12:28:14 +01:00
Akhilesh Nema
2f29efce68
Fixed #7295 (GUI: 'Edit Project' and 'Close Project' actions getting enabled after Files/Directory check.)
2016-01-16 09:59:02 +01:00
Matthias Krüger
7b1710a44f
redundantAssignment: change from severity 'performance' to 'style' since avoiding unneccessary stores is a basic optimization done by compilers.
2016-01-15 22:01:40 +01:00
Roberto Martelloni
bb6880919c
CWE mapping
2016-01-15 17:07:14 +01:00
Akhilesh Nema
4aa2876ca0
Fixed #7278 (GUI: error rechecking with some files)
2016-01-15 16:52:22 +01:00
orbitcowboy
979dfc3f4e
Merge pull request #760 from Dmitry-Me/omitUnneededBetterName
...
Remove repeated code, better variable name
2016-01-15 15:48:57 +01:00
Dmitry-Me
26788a1dc1
Remove repeated code, better variable name
2016-01-15 17:20:40 +03:00
orbitcowboy
3a1c20e9c4
Merge pull request #756 from Dmitry-Me/useSubstrToGetSubstring
...
Use substr() instead of assignment plus erase()
2016-01-15 13:28:37 +01:00
Albert ARIBAUD (3ADEV)
38e70dfb74
Preprocessor directives for addons
...
This patch augments the XML dumps with a 'directivelist'
subnode which lists all raw preprocessor directives met
while reading the source code in each configuration.
Also, the addons/cppcheckdata.py file has been extended
to give easy access to the list of directives and to
provide Python support for the --template (or short -t)
option.
Finally, an new addon, addons/y2038/y2038.py, is created
to detect when a glibc symbol might be Y2038-sensitive,
based on whether and how _TIME_BITS and _USE_TIME_BITS64
are defined when meeting the symbol.
2016-01-15 12:36:35 +01:00
Dmitry-Me
7bf88fbb09
Use substr() instead of assignment plus erase()
2016-01-15 14:22:08 +03:00
Daniel Marjamäki
930e7f7004
Fixed Cppcheck format string warning
2016-01-15 09:45:47 +01:00
Akhilesh Nema
6c1ac1bd53
GUI: Add detection for geany and Qtcreator as editor application
2016-01-15 09:33:04 +01:00
Robert Reif
966d078dcc
CheckIO: Fix FN when using '%x' as format specifier for a 'signed int' variable
2016-01-15 09:29:29 +01:00
Alexander Mai
161412dc31
Correct posix.cfg to avoid false positives. Fix runtests.sh
2016-01-15 00:11:48 +01:00
PKEuS
85b12252d5
Merge pull request #754 from JIghtuse/master
...
posix.cfg: Only pointers can be null
2016-01-14 17:14:53 +01:00
Boris Egorov
3c85791b6a
posix.cfg: Only pointers can be null
2016-01-14 17:30:23 +06:00
Daniel Marjamäki
5214406771
Try to readd refactorings in testio.
2016-01-14 09:00:03 +01:00
PKEuS
1bbb82ab2b
Merge pull request #753 from Dmitry-Me/mergePatterns
...
Merge overlapping patterns
2016-01-14 08:25:07 +01:00
Dmitry-Me
f14814e002
Reorganize duplicated patterns
2016-01-14 10:00:07 +03:00
Daniel Marjamäki
8e2f7812fd
CheckString: Fix FP when macros are used.
2016-01-13 20:32:40 +01:00
Daniel Marjamäki
9c8ff5b89c
TestIO: Use std::strcmp() to compare strings instead of std::string()
2016-01-13 19:04:30 +01:00
Daniel Marjamäki
dd3dd397b5
try to fix travis and appveyor by reverting my changes
2016-01-13 18:31:57 +01:00
Daniel Marjamäki
a6ac22f735
Attempt to fix travis and appveyor
2016-01-13 16:39:09 +01:00
orbitcowboy
023424f836
posix.cfg and gnu.cfg: Added support for more functions.
2016-01-13 11:57:21 +01:00
Daniel Marjamäki
075c479bff
TestIO: Refactoring, split up test cases
2016-01-13 11:34:37 +01:00
Daniel Marjamäki
647f3fc619
Refactoring TestIO
2016-01-13 10:13:24 +01:00
Matthias Krüger
e9e496199c
CheckOther::memsetZeroBytesError: remove now unused parameter.
...
was:
lib/checkother.cpp:1116:76: warning: unused parameter ‘varname’ [-Wunused-parameter]
void CheckOther::memsetZeroBytesError(const Token *tok, const std::string &varname)
^
2016-01-12 23:55:02 +01:00
Alexander Mai
7802517a69
#7285 wrong var name: memset() called to fill 0 bytes of '&' memset with pointer: remove var name from message. Correct some entries in posix.cfg.
2016-01-12 23:20:48 +01:00
Matthias Krüger
8f84f139d7
addons: threadsafety: print name of local static object in message.
2016-01-12 20:31:18 +01:00
Daniel Marjamäki
610326e37f
Refactoring TestIO macros
2016-01-12 20:03:42 +01:00
Daniel Marjamäki
4f958bd2ca
Refactor TestIO, split test case
2016-01-12 19:23:37 +01:00
orbitcowboy
b6fd9e2509
posix.cfg and windows.cfg: Added support for more functions.
2016-01-12 17:00:33 +01:00
Daniel Marjamäki
14670f743e
Refactor TestIO, split test cases
2016-01-12 16:43:27 +01:00
Daniel Marjamäki
89b23bb698
Refactor TestIO, split test case
2016-01-12 15:06:42 +01:00
Daniel Marjamäki
5079b6d95e
TestIO refactoring, split test case
2016-01-12 15:01:32 +01:00
Daniel Marjamäki
dbf620aa8c
TestIO refactoring, split test case
2016-01-12 14:41:03 +01:00
Daniel Marjamäki
0226ee5ef3
TestIO: Splitting up test case
2016-01-12 13:06:42 +01:00
Martin Ettl
9193e14b8f
posix.cfg: Added support for the fileno() function.
2016-01-11 20:35:56 +01:00
Martin Ettl
999da2877e
windows.cfg: Added support for _stat() functions.
2016-01-11 20:25:44 +01:00
Daniel Marjamäki
8e79e5c1d3
Fixed #7147 (TemplateSimplifier: specialized template class with inheritance)
2016-01-11 18:45:12 +01:00
orbitcowboy
e03e9fbbcf
posix.cfg: Added support for remove().
2016-01-11 16:34:47 +01:00
orbitcowboy
8cfd1fc8d5
gnu.cfg: Fixed canonicalize_file_name() definition. This function has only one parameter.
2016-01-11 15:22:40 +01:00