PKEuS
|
75528adea0
|
Updated simplecpp to 95be502385518402ee61830be2ce3cd0ea02eee2
|
2016-12-06 14:10:57 +01:00 |
PKEuS
|
2f6350a0d0
|
Refactorized Library
|
2016-12-06 14:09:28 +01:00 |
orbitcowboy
|
af1398900c
|
windows.cfg: Improved support for _open() and _close() functions.
|
2016-12-06 13:50:45 +01:00 |
Matthias Krüger
|
27bd4a7f4c
|
daca2: enable --inconclusive
|
2016-12-06 11:19:33 +01:00 |
Daniel Marjamäki
|
5426cfb15e
|
daca2: output warning id to make it possible to write more statistics
|
2016-12-06 09:33:41 +01:00 |
Matthias Krüger
|
0b3fe1807b
|
travis: reenable original CXXFLAGS
|
2016-12-05 23:43:16 +01:00 |
PKEuS
|
6dfbddef43
|
Avoid std::string::pop_back() as long as travis uses an ancient standard library version
|
2016-12-05 22:55:57 +01:00 |
PKEuS
|
6e8ac13325
|
Refactorization:
- Optimized std::string usage
- Replaced list by vector
- Moved iterator into loop head
- Ran AStyle
|
2016-12-05 17:45:34 +01:00 |
orbitcowboy
|
76b31302eb
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2016-12-05 16:47:05 +01:00 |
orbitcowboy
|
6829a8da14
|
posix.cfg and windows.cfg: Added support for memccpy().
|
2016-12-05 16:46:49 +01:00 |
PKEuS
|
d665641a76
|
Refactorizations:
- use std::string::pop_back() and std::string::back()
- pass argument as const std::string&
- Moved iterator into for loop head
|
2016-12-05 14:50:01 +01:00 |
Matthias Krüger
|
7197456c23
|
CheckCondition::checkIncorrectLogicOperator(): if we encounter a condition like 'A && (!A || B)', print the actual equivalent ('A && B') in the --verbose message.
|
2016-12-05 13:39:20 +01:00 |
orbitcowboy
|
942b5cdc20
|
windows.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 10:43:07 +01:00 |
orbitcowboy
|
e8aede649a
|
gnu.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 10:37:13 +01:00 |
orbitcowboy
|
7522b1b108
|
posix.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 10:30:11 +01:00 |
orbitcowboy
|
9b611f5351
|
std.cfg: Improved configuration by using <valid>-tags.
|
2016-12-05 09:48:20 +01:00 |
Daniel Marjamäki
|
5df8e7f50c
|
Fixed #7596 (ValueFlow: better handling for 'x*(1-x-1)')
|
2016-12-04 22:39:59 +01:00 |
orbitcowboy
|
29a6a39fb5
|
gnu.cfg: Improved configuration of memmem().
|
2016-12-04 20:30:33 +01:00 |
Daniel Marjamäki
|
a5e214ab3f
|
astyle formatting
[ci skip]
|
2016-12-04 19:15:32 +01:00 |
Daniel Marjamäki
|
1137c1e6b8
|
--project: fixing vcxproj load
|
2016-12-04 19:15:04 +01:00 |
Daniel Marjamäki
|
8b18b6229e
|
--project: refactorings
|
2016-12-04 18:50:59 +01:00 |
Daniel Marjamäki
|
c12cb69cc2
|
ValueType: Handle function pointers
|
2016-12-04 16:02:50 +01:00 |
amai2012
|
abf59af87d
|
Add a couple of interfaces
|
2016-12-04 12:24:26 +01:00 |
Daniel Marjamäki
|
6086165403
|
bump simplecpp to rev c70bae00a9b92eca75767e547fad972cf011945f
|
2016-12-04 12:10:28 +01:00 |
Daniel Marjamäki
|
9c69546d72
|
Fixed #7842 (Preprocessor::getConfigs: #error in #ifndef not handled well)
|
2016-12-03 11:59:48 +01:00 |
orbitcowboy
|
afb962575b
|
windows.cfg: Added support for _mbsstr(),_tcsstr() and _mbsstr_l().
|
2016-12-02 09:06:02 +01:00 |
orbitcowboy
|
04d6b05da9
|
preprocessor: It is more efficient to seek for a single character rather than a string.
|
2016-12-01 17:54:45 +01:00 |
orbitcowboy
|
4a439b9308
|
It is more efficient to provide a character instead of a string when searching for a single character. This has been fixed in various places.
|
2016-11-30 12:01:22 +01:00 |
orbitcowboy
|
8a45c3192b
|
There is not need to clear a string directly after its creation.
|
2016-11-30 10:39:14 +01:00 |
Daniel Marjamäki
|
95b3d9eaa1
|
Merge pull request #848 from neszt/master
execinfo.h is part of glibc
|
2016-11-29 15:03:38 +01:00 |
orbitcowboy
|
df0f5e3f39
|
windows.cfg: Removed not needed <use-retval/> configurations.
|
2016-11-29 10:07:35 +01:00 |
Neszt Tibor
|
4bd6a75c48
|
execinfo.h is part of glibc
On systems where glibc is not available, execinfo.h should not be
included.
|
2016-11-29 09:44:50 +01:00 |
PKEuS
|
4a7b81218b
|
std.cfg: Combined definitions of fget(w)c and get(w)c, removing wrong <use-retval/> from get(w)c
|
2016-11-29 09:37:00 +01:00 |
orbitcowboy
|
b964513611
|
windows.cfg: Added support for more functions like SetupDiGetClassDevs().
|
2016-11-29 09:18:08 +01:00 |
amai2012
|
f66e7fb379
|
#7833 UB: member call on null pointer when --dumping configuration with unknown value
|
2016-11-28 18:19:19 +01:00 |
PKEuS
|
36d12d7866
|
SymbolDatabase: Function::retDef should not point at "static" or "extern"
|
2016-11-28 17:23:39 +01:00 |
orbitcowboy
|
7b1ed9f415
|
windows.cfg and posix.cfg: Added more <use-retval/> configurations.
|
2016-11-28 16:58:33 +01:00 |
orbitcowboy
|
fa379b50b1
|
std.cfg: Cleanup fget[w]c() configuration.
|
2016-11-28 11:19:36 +01:00 |
orbitcowboy
|
f4deb99fb5
|
Merge pull request #847 from stweil/master
Fix some typos in comments (found by codespell)
|
2016-11-27 13:25:10 +01:00 |
Stefan Weil
|
57b57428c2
|
Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2016-11-27 11:40:42 +01:00 |
Daniel Marjamäki
|
b6cba4a55c
|
Fixed #7784 (Token: can't be both type and variable)
|
2016-11-26 22:39:47 +01:00 |
orbitcowboy
|
55ae961ac2
|
std.cfg and windows.cfg: Improved support for <use-retval/> for functions like ftell(), [f]get[w]c().
|
2016-11-26 21:31:15 +01:00 |
orbitcowboy
|
8a0f856e95
|
Fixed regression in test/cfg/std.c introduced by b0d09926fb .
|
2016-11-26 21:14:31 +01:00 |
orbitcowboy
|
b0d09926fb
|
std.cfg: Take return value into accoutn for ftell().
|
2016-11-26 18:36:05 +01:00 |
orbitcowboy
|
97b8b1ffc2
|
std.cfg: Take return value into accoutn for freopen().
|
2016-11-26 18:33:42 +01:00 |
Matthias Krüger
|
b3ace258ab
|
there is no need to have "if(tok && Token::Match(tok,..." since Token::Match checks "tok" by itselfs already.
|
2016-11-26 17:22:30 +01:00 |
Matthias Krüger
|
59bbe6cd42
|
matchcompiler: simplify some more code
|
2016-11-26 16:27:39 +01:00 |
orbitcowboy
|
83d0b42c66
|
windows.cfg: Ensure the return value of _wfopen_s() and _tfopen_s() is taken into account as well.
|
2016-11-26 16:25:19 +01:00 |
orbitcowboy
|
d5fb6da9a4
|
std.cfg: Ensure the return value of fopen_s() is taken into account.
|
2016-11-26 16:22:09 +01:00 |
Matthias Krüger
|
80cb350a6b
|
matchcompiler: remove redundant variable 'neg' and do some minor reformatting
|
2016-11-26 15:41:59 +01:00 |