orbitcowboy
2727a959b2
windows.cfg: Added missing <use-retval/>-tags for strcmp-functions.
2019-02-04 11:54:24 +01:00
versat
dcff026da0
donate-cpu.py: Simplify check if line is not empty
...
In Python an empty string returns False in a conditional check. No need to calculate lenght or compare it with an empty string.
2019-02-04 11:25:29 +01:00
Sebastian
360ba33e4c
donate-cpu.py: Use Boost library configuration if appropriate ( #1587 )
...
Add check to only use boost library if boost.cfg exists since it is very new.
If the boost.cfg does not exist Cppcheck would exit with an error and we
would not get the desired results.
For now the boost library configuration detection is commented out. It
should be enabled after the release of Cppcheck 1.87.
Tested locally.
2019-02-04 11:05:14 +01:00
orbitcowboy
6e72691986
posix.cfg: Added missing <use-retval/>-tags for strcmp-functions.
2019-02-04 08:27:49 +01:00
orbitcowboy
b0454252b0
wxwidgets.cfg: Added support for more interfaces.
2019-02-04 08:08:08 +01:00
amai2012
8e85aef4ea
Add more interfaces
2019-02-03 22:13:30 +01:00
amai2012
c9d77db39a
Change pre-defined macro from __GCC__ to __GNUC__
2019-02-03 21:56:48 +01:00
amai2012
74f3e4cce2
Fix typo
2019-02-03 21:27:47 +01:00
amai2012
89a5eb36ad
Add initial configuration file for Pytho C API
2019-02-03 21:08:42 +01:00
amai2012
b92b06d900
Refactor runastyle script: introduce functions
2019-02-03 20:51:14 +01:00
orbitcowboy
acebfac176
Added missing <use-retval/>-tag to strdup()-like functions. In case the return value is not taken in account, a logical error is revealed.
2019-02-03 20:38:33 +01:00
orbitcowboy
b472d74f1f
gtk.cfg: Added support for g_strdup(); wxwidgets.cfg: Added <use-retval/>-flag to wxString::FromUTF8().
2019-02-03 20:31:59 +01:00
orbitcowboy
b7f43f99ca
wxwidgets.cfg: Fixed typo in function name.
2019-02-03 20:25:58 +01:00
Daniel Marjamäki
23599428cb
Clarify Cppcheck output
2019-02-03 19:49:27 +01:00
Daniel Marjamäki
437800f46d
CLI: Added --max-ctu-depth
2019-02-03 17:51:36 +01:00
orbitcowboy
7f506517ee
wxwidgets.cfg: Added support for more interfaces.
2019-02-03 17:46:55 +01:00
orbitcowboy
0c6733ad1e
wxwidgets.cfg: Cleanup not needed <const/>-tag.
2019-02-03 17:44:04 +01:00
orbitcowboy
7475ab2af8
wxwidgets.cfg: Added support for more interfaces.
2019-02-03 17:41:12 +01:00
orbitcowboy
a10c2eec92
wxwidgets.cfg: Added support for more interfaces.
2019-02-03 17:29:39 +01:00
orbitcowboy
3b4d1f52d7
wxwidgets.cfg: Added support for more interfaces.
2019-02-03 17:14:16 +01:00
orbitcowboy
f4b890603c
wxwidgets.cfg: Added support for more interfaces.
2019-02-03 16:59:02 +01:00
orbitcowboy
9510bae471
wxwidgets.cfg: Added support for more interfaces.
2019-02-03 16:36:05 +01:00
Daniel Marjamäki
a4406aca32
Fixed #7845 (Leak reported when ignoring return value of 'new', even if pointer saved by constructor)
2019-02-03 12:15:05 +01:00
Daniel Marjamäki
ae001d4336
Fixed #8957 (Tokenizer::setVarId: varid not set when lambda function is used)
2019-02-03 08:57:04 +01:00
Daniel Marjamäki
4457faa26b
Fixed #8850 (Array in-class initialization for private member considered uninitialized)
2019-02-02 18:34:41 +01:00
Daniel Marjamäki
9d8f798aca
Fixed #8951 (false postive: (style) The class 'x' does not have a constructor although it has private member variables.)
2019-02-02 18:25:26 +01:00
orbitcowboy
fed8769687
wxwidgets.cfg: Added support for more interfaces.
2019-02-02 17:33:30 +01:00
orbitcowboy
24eb151f2a
wxwidgets.cfg: Added support for more interfaces.
2019-02-02 17:20:27 +01:00
IOBYTE
5c0ec782f1
Add ability to time simplifyTemplates. ( #1640 )
2019-02-01 18:17:18 +01:00
orbitcowboy
681cb7dd90
wxwidgets.cfg: Added support for more interfaces.
2019-02-01 17:09:43 +01:00
orbitcowboy
e468a35545
wxwidgets.cfg: Added support for more interfaces.
2019-02-01 15:28:20 +01:00
orbitcowboy
9ddd7163be
wxwidgets.cfg: Added support for more interfaces.
2019-02-01 13:54:40 +01:00
orbitcowboy
afbeb6f3bd
wxwidgets.cfg: Added support for more interfaces.
2019-02-01 13:31:57 +01:00
orbitcowboy
3a236e933c
wxwidgets.cfg: Added support for more interfaces.
2019-02-01 12:10:49 +01:00
orbitcowboy
556ab6f4e4
wxwidgets.cfg: Added support for wxPen::SetCap()
2019-02-01 09:01:58 +01:00
orbitcowboy
b8c4b4a565
wxwidgets.cfg: Added support for wxFile::Read().
2019-02-01 08:57:14 +01:00
Paul Fultz II
2ea1152e15
Add pcre requirement ( #1638 )
2019-02-01 07:05:49 +01:00
Daniel Marjamäki
a878f90299
Fix Cppcheck warning about unused variable
2019-02-01 07:01:08 +01:00
IOBYTE
d08aa666f6
template simplifier: fix crash on windows ( #1639 )
...
* template simplifier: fix crash on windows
Use right token when searching for template type alias to delete.
* template simplifier: fix a cppcheck warning
2019-02-01 06:59:49 +01:00
Daniel Marjamäki
8925299947
Attempt to fix MSVC compile issue
2019-02-01 00:09:07 +01:00
IOBYTE
98fc6d1d32
Fixed #8959 ("(debug) Unknown type 'x'" with using/alias) ( #1635 )
...
* Fixed #8959 ("(debug) Unknown type 'x'" with using/alias)
* fix cppcheck warning
2019-01-31 23:57:37 +01:00
rikardfalkeborn
91de606243
TestOther: Shorter test cases ( #1637 )
...
* Remove newlines after check(
* Remove unneeded statements after if-statements
As an example, the previous test case
check(
"bool foo(int x) {\n"
" if (x < 0)"
" return true;\n"
" return false;\n"
"}");
is changed to
check("void foo(int x) {\n"
" if (x < 0) {}\n"
"}");
2019-01-31 23:57:05 +01:00
Daniel Marjamäki
53967c83e9
Fixed compile error
2019-01-31 23:52:48 +01:00
Daniel Marjamäki
e297e3a505
Update Makefile
2019-01-31 21:31:14 +01:00
rikardfalkeborn
0c9b4fe279
Update Makefile ( #1636 )
2019-01-31 21:30:32 +01:00
Daniel Marjamäki
961f66baff
Fixed #8820 (import GUI project)
...
This has basic handling of GUI projects. But further work will be needed to handle addons etc, the plan is that we will be able to run addons from the command line soon.
2019-01-31 20:40:21 +01:00
IOBYTE
05a3e6807b
Fixed #8950 and #8952 (improve type alias support) ( #1633 )
...
* Fixed #8950 and #8952 (improve type alias support)
* fix travis build
2019-01-31 16:53:51 +01:00
orbitcowboy
c2bda14376
wxwidgets.cfg: Added support for wxStringTokenize().
2019-01-31 14:32:21 +01:00
orbitcowboy
a427679d21
wxwidgets.cfg: Added missing const configuration.
2019-01-31 14:12:31 +01:00
orbitcowboy
65f7a17f26
wxwidgets.cfg: Added support for wxPropertyGrid::GetVIterator() and wxPropertyGridInterface::GetVIterator().
2019-01-31 14:01:09 +01:00