Commit Graph

16635 Commits

Author SHA1 Message Date
Matthias Krüger 0e40a4cc39 gui: ThreadHandler::check() remove unused parameter "all".
Was:
threadhandler.cpp:78:58: warning: unused parameter ‘all’ [-Wunused-parameter]
 void ThreadHandler::check(const Settings &settings, bool all)
                                                          ^~~
2017-08-03 22:48:38 +02:00
Daniel Marjamäki 67043b3524 GUI: Add -isystem and proper standard when running Clang 2017-08-03 21:39:20 +02:00
Matthias Krüger ef80aba58f gui: fix compiler selection if CXX is empty 2017-08-03 21:23:02 +02:00
Daniel Marjamäki 53002e40f6 Fix ImportProject 2017-08-03 20:38:24 +02:00
Daniel Marjamäki ccea0b17b3 ImportProject: Read system includes and standard from compile database 2017-08-03 20:33:56 +02:00
Daniel Marjamäki 1f3f8f6f20 GUI: Minor fixes in the Clang parser 2017-08-03 20:33:01 +02:00
Matthias Krüger 25a19b5ca7 gui: get QMAKE_CXX from CXX env var of system. 2017-08-03 18:16:39 +02:00
Daniel Marjamäki 5c9f010a61 GUI: Refactoring run-addons 2017-08-03 18:04:15 +02:00
Daniel Marjamäki 61eccd7070 Fix dump 2017-08-03 18:03:59 +02:00
Daniel Marjamäki 1be04346b3 GUI: Refactoring, split out getAddonPath() 2017-08-03 17:26:16 +02:00
Daniel Marjamäki 14efd2fdf5 GUI: Split up parsers for addons/clang 2017-08-03 17:20:29 +02:00
Daniel Marjamäki ac08e216a4 GUI: indicate that clang handling is experimental 2017-08-03 17:10:56 +02:00
orbitcowboy d409934bd3 wxwidgets: Added support for wxTimer functions. 2017-08-03 13:56:31 +02:00
PKEuS b4cf79f1b7 GUI: Refactorizations 2017-08-03 12:43:44 +02:00
Daniel Marjamäki dfc48be70e Fixed #2363 (GUI: Using addons in the checking) 2017-08-03 12:30:28 +02:00
orbitcowboy 3c7f6cf9c8 wxwidgets.cfg: Added support for some wxSlider functions. 2017-08-03 10:34:16 +02:00
orbitcowboy bf9980b7e0 windows.cfg: Added more returnValue-types. 2017-08-03 09:57:12 +02:00
Daniel Marjamäki 4eb43a5557 Fixed some recent regression in ImportProject for vcxproj projects 2017-08-02 22:51:22 +02:00
Veli-Matti Visuri da3846f752 Add Timer copy constructor (#932)
- Satisfy the rule of three
2017-08-02 22:34:28 +02:00
Daniel Marjamäki 952c31638c Fixed #1862 (GUI: Allow user to tag errors) 2017-08-02 22:28:45 +02:00
amai2012 39955973e9 Merge pull request #931 from IOBYTE/master
Fixed #8142 (false positive: The class 'B' has 'copy constructor' but lack of 'operator='
2017-08-02 21:16:29 +02:00
Daniel Marjamäki 77d9a4d981 GUI: Remove unused method 2017-08-02 20:27:38 +02:00
Daniel Marjamäki 78e30e735e GUI: Better history. Prepare for tagging messages. 2017-08-02 20:24:23 +02:00
Daniel Marjamäki 3e2236ac73 GUI: Rename variables 2017-08-02 19:09:03 +02:00
orbitcowboy 72f5c11143 wxwidgets.cfg: Added more returnValue-types. 2017-08-02 14:48:27 +02:00
orbitcowboy cc210679a5 gnu.cfg: Added returnValue-types. 2017-08-02 14:34:06 +02:00
Daniel Marjamäki 274bc179bf GUI: constness 2017-08-02 14:26:56 +02:00
orbitcowboy 40985ada14 posix.cfg: Added more returnValue-types. 2017-08-02 14:11:50 +02:00
Daniel Marjamäki f516c5696e GUI: small refactoring 2017-08-02 12:45:57 +02:00
orbitcowboy 4024420a4d posix.cfg: Added more returnValue-types and increased function support. 2017-08-02 09:26:16 +02:00
Daniel Marjamäki 5c7591db9e Fix issues detected by Coverity, ResultsTree did not initialize all member variables 2017-08-02 08:57:44 +02:00
Daniel Marjamäki cde262fd02 Refactoring, use early return 2017-08-02 08:49:45 +02:00
Daniel Marjamäki ecc84ee027 Fix issue detected by Coverity, StatsDialog::mStatistics was not initialized in the constructor 2017-08-02 08:45:17 +02:00
Daniel Marjamäki f7514fcd2c Fix issue detected by Coverity, dereference tok3 and then check if its null. 2017-08-02 08:38:36 +02:00
Daniel Marjamäki e977cea04c Fix issue detected by Coverity, either null pointer check is useless or there is null pointer dereference 2017-08-02 08:24:16 +02:00
Daniel Marjamäki 32422c815b Fix issue found by Coverity, scope cant be null since scope is dereferenced on all paths before the while and also unconditionally inside while 2017-08-02 08:17:29 +02:00
Daniel Marjamäki 462ae455c8 Fix issue detected by Coverity, missing check if _settings is null 2017-08-02 08:04:35 +02:00
Daniel Marjamäki 60f819dbe7 Refactoring, use continue in loop 2017-08-02 08:00:52 +02:00
Daniel Marjamäki 5abf39503a Fix issue detected by Coverity, in case solution does not specify platform configuration the platform will be uninitialized 2017-08-02 07:59:25 +02:00
Daniel Marjamäki 05cdda3f4c Fix issue detected by Coverity, XMLElement::Attribute might return null 2017-08-02 07:56:22 +02:00
Daniel Marjamäki e6f6efc684 astyle formatting
[ci skip]
2017-08-02 07:48:38 +02:00
Daniel Marjamäki 55aec0ef1b Fix issue detected by Coverity, vt2 is null checked and then dereferenced 2017-08-02 07:48:11 +02:00
Robert Reif f5044bb65f Fixed #8142 (false positive: The class 'B' has 'copy constructor' but lack of 'operator='.)
Do not count static member variables when trying to figure out if
'operator =' is needed.
2017-08-01 19:52:41 -04:00
orbitcowboy d2698733c3 posix.cfg: Added returnValue-types for some functions. 2017-08-01 20:35:30 +02:00
Matthias Krüger 9b6d371762 checkbufferoverrun: remove dead store
the variable was declared inside a loop and the dead store also took place inside the loop (guarded by a condition) without further access of the value after that store.
Found by clang analyzer.

Was:

lib/checkbufferoverrun.cpp:1223:17: warning: Value stored to 'tok' is never read
                tok = tok->next();
                ^     ~~~~~~~~~~~
2017-08-01 16:53:00 +02:00
Daniel Marjamäki 9ef9d0e4a8 Fixed #8128 (False negative: variable is assigned value that is not read) 2017-08-01 14:56:53 +02:00
orbitcowboy 7ab8d758c5 std.cfg: Added more returnValue-types. 2017-08-01 14:33:12 +02:00
Daniel Marjamäki 1758c3b4e7 Fix suspicious code found by Coverity, dont check if scope->function is null and then dereference it 2017-08-01 13:26:35 +02:00
Daniel Marjamäki 058c439b2a Coverity detected useless function call, cleanup code 2017-08-01 12:45:37 +02:00
Daniel Marjamäki 0c8a899f59 Fix issue detected by Coverity, there was dead code because the wrong variable was used in condition 2017-08-01 11:45:51 +02:00