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 |
Daniel Marjamäki
|
a198422f0e
|
Fixed Coverity warning. Coverity assumes that 'bits < 64' means that bits can be 63. That is not true here but anyway I think the code needed to be fixed.
|
2016-11-25 15:19:18 +01:00 |
Matthias Krüger
|
213589ee68
|
ValueFlow: don't perform UB when a function returns shifts of/by negative values. Fixes #7814.
|
2016-11-24 23:23:47 +01:00 |
Daniel Marjamäki
|
8be50fd822
|
--project: loading props when relative paths are given
|
2016-11-24 08:11:51 +01:00 |
Daniel Marjamäki
|
a61f4e9c94
|
Fixed #7831 (false-positive: terminateStrncpy)
|
2016-11-24 07:04:58 +01:00 |
Matthias Krüger
|
b687e011f2
|
matchcompiler: --show-skipped: print locations of skipped patterns in file:line notation.
|
2016-11-24 00:36:23 +01:00 |
Matthias Krüger
|
cf24ea5221
|
fix #7783: false positive knownConditionTrueFalse on assert(0 && "message").
|
2016-11-23 21:54:38 +01:00 |
Daniel Marjamäki
|
e1a3c0955a
|
synthetic tests: Added run-clang.sh
|
2016-11-23 14:49:46 +01:00 |
Matthias Krüger
|
01e5f14bf8
|
CheckClass::virtualDestructorError and a variation of CheckNullPointer::nullPointerError would print inconclusive,warning messages altough no --enable=warning was given. Fix.
|
2016-11-23 00:13:09 +01:00 |
Daniel Marjamäki
|
0b3751520b
|
Add a check for float conversion overflows
|
2016-11-22 22:37:13 +01:00 |
Daniel Marjamäki
|
8870195794
|
Synthetic: Add run-lint.bat script
|
2016-11-22 19:25:05 +01:00 |
PKEuS
|
02d8f691f8
|
Fixed false positive: Do not show useInitializationList message for enums
|
2016-11-22 12:09:30 +01:00 |
Daniel Marjamäki
|
aff84daff3
|
synthetic tests: renamed functions
|
2016-11-22 11:37:15 +01:00 |
orbitcowboy
|
5b1f112195
|
windows.cfg: Added support for GetTempPath().
|
2016-11-22 08:32:11 +01:00 |
Daniel Marjamäki
|
d40f4e4a55
|
Fixed #7778 (valueFlowAfterAssign: alias)
|
2016-11-21 17:26:36 +01:00 |
Daniel Marjamäki
|
21364b4401
|
Refactoring fix for #7816
|
2016-11-21 13:54:59 +01:00 |
amai2012
|
933815ee54
|
#7816 Segmentation fault at Tokenizer::simplifyAttribute() for stand-alone void. Throw syntax error on incomplete code
|
2016-11-21 12:19:47 +01:00 |
Daniel Marjamäki
|
9043436e67
|
Visual Studio: Improved --project handling.
|
2016-11-20 22:44:50 +01:00 |
Matthias Krüger
|
4cf85b72b6
|
CheckOther::checkAccessOfMovedVariable: don't warn if --enable=warning is not given.
|
2016-11-20 18:44:37 +01:00 |
Daniel Marjamäki
|
74fa69fe5e
|
Fixed #7821 (syntax error, first token is &)
|
2016-11-20 17:59:50 +01:00 |
Daniel Marjamäki
|
4388435ce1
|
Revert "checkautovariable: fix #7818, crash when accessing nullpointer tok2->next()."
This reverts commit a5d32aa7a5 .
|
2016-11-20 17:21:56 +01:00 |
Daniel Marjamäki
|
c329887bfe
|
use const
|
2016-11-20 15:44:20 +01:00 |
Frank Zingsheim
|
c8ff96fe8f
|
Fixed #6180 (Usage of variable after std::move or std::forward)
|
2016-11-20 15:14:49 +01:00 |
PKEuS
|
e23dc5c1e2
|
Fixed wrong message shown if unused label appears directly after a switch() scope
|
2016-11-20 14:43:54 +01:00 |