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 |
Matthias Krüger
|
b6614d0aa4
|
valueflow: bail out earlier when encountering divisions by zero. Fixes #7819.
This caused valueflow to actually try to divide by zero, detected by UBSAN.
|
2016-11-20 14:38:35 +01:00 |
Matthias Krüger
|
d3919b23fa
|
testrunner: testgarbage: test-function was not called, fix.
|
2016-11-20 14:36:36 +01:00 |
Daniel Marjamäki
|
5b377ea2e4
|
Fixed #7821 (segmentation fault, invalid last token)
|
2016-11-20 14:15:51 +01:00 |
Daniel Marjamäki
|
769b6a0b72
|
astyle formatting
|
2016-11-20 10:38:27 +01:00 |
Daniel Marjamäki
|
93fc489cbc
|
GUI: rename main.ui to mainwindow.ui
|
2016-11-19 23:07:48 +01:00 |
Daniel Marjamäki
|
c2069c4b76
|
GUI: Renamed functions
|
2016-11-19 23:00:59 +01:00 |
Daniel Marjamäki
|
ad1b3361db
|
GUI: Renamed projectfile.ui to projectfiledialog.ui. moved some code from project.cpp to projectfiledialog.cpp
|
2016-11-19 22:54:32 +01:00 |
Daniel Marjamäki
|
0da33eaa80
|
GUI: Renamed elements
|
2016-11-19 22:37:12 +01:00 |
Daniel Marjamäki
|
7c046e541b
|
GUI: Renamed ui elements
|
2016-11-19 21:38:05 +01:00 |
Daniel Marjamäki
|
2b767d3f6f
|
GUI: Rename
|
2016-11-19 21:12:32 +01:00 |
Daniel Marjamäki
|
84e6163cb8
|
GUI: Add cppcheck build dir
|
2016-11-19 20:38:50 +01:00 |
Daniel Marjamäki
|
1235815ae9
|
SymbolDatabase: refactoring condition
|
2016-11-18 22:01:15 +01:00 |
Daniel Marjamäki
|
492d618653
|
Revert "Try to fix AppVeyor timeout. I would like to have VS2010 debug builds in appveyor but I drop these to save a little time so we will get results again."
This reverts commit a05f833843 .
I think these problems where caused by thread bug.
|
2016-11-18 21:54:12 +01:00 |
PKEuS
|
5344a5e098
|
Fixed race condition by properly constructing a local CheckUnusedFunctions instance in CppCheck::processFile(). Instantiating Checks is dangerous!
|
2016-11-18 21:09:41 +01:00 |