Commit Graph

1988 Commits

Author SHA1 Message Date
orbitcowboy cabafca5ae windows.cfg: Added some constants from WinUser.h 2020-07-01 16:14:59 +02:00
orbitcowboy 8ab02ed97a std.cfg: Improved bsearch() configuration 2020-07-01 15:06:00 +02:00
orbitcowboy 0770a6fe62 std.cfg: Added support for std::at_quick_exit() 2020-07-01 14:43:17 +02:00
orbitcowboy 27d6b9a57d std.cfg: Formatted comments, there are no functional changes [ci skip] 2020-07-01 11:12:22 +02:00
orbitcowboy 4f191e455e wxwidgets.cfg: Added support for more interfaces 2020-07-01 11:11:47 +02:00
orbitcowboy 0f20506063 wxwidgets.cfg: Added support for more interfaces 2020-06-30 10:28:09 +02:00
orbitcowboy f5d3e6fad1 wxwidgets.cfg: Added support for more interfaces 2020-06-30 10:21:52 +02:00
orbitcowboy 0bd44995aa wxwidgets.cfg: Added support for more interfaces 2020-06-30 10:15:44 +02:00
orbitcowboy 7d9220e96c wxwidgets.cfg: Added support for more interfaces 2020-06-29 15:31:03 +02:00
orbitcowboy 7c66dabce1 wxwidgets.cfg: Added support for more interfaces 2020-06-29 15:25:32 +02:00
Konrad Grochowski 382b6964de
cfg/windows.cfg - fixed definition of GetSystemInfo (#2693) 2020-06-26 20:39:44 +02:00
orbitcowboy 7924fbc13e wxwidgets.cfg: Added support for more interfaces 2020-06-26 09:11:59 +02:00
orbitcowboy 426c6d84ca wxwidgets.cfg: Added support for more interfaces 2020-06-25 11:06:10 +02:00
orbitcowboy 44f87750e0 wxwidgets.cfg: Added support for more interfaces 2020-06-22 08:19:57 +02:00
orbitcowboy 709cd79e1e wxwidgets.cfg: Added support for more interfaces 2020-06-22 08:17:19 +02:00
orbitcowboy fae5d869e4 wxwidgets.cfg: Added support for more interfaces 2020-06-20 00:20:09 +02:00
orbitcowboy 55efa5b858 wxwidgets.cfg: Added support for more interfaces 2020-06-19 23:41:53 +02:00
orbitcowboy 4c8c590b4b wxwidgets.cfg: Cleanup event table macros 2020-06-19 16:35:39 +02:00
orbitcowboy 4acc63ac48 wxwidgets.cfg: Added support for more insterfaces 2020-06-19 07:59:17 +02:00
orbitcowboy 879fa9c18e wxwidgets.cfg: Added support for more insterfaces 2020-06-18 21:14:33 +02:00
orbitcowboy 30f1558f1c wxwidgets.cfg: Added support for more insterfaces 2020-06-18 21:10:48 +02:00
orbitcowboy 567ee92c20 wxwidgets.cfg: Added support for more interfaces 2020-06-18 17:14:07 +02:00
orbitcowboy d77c9cc9ff wxwidgets.cfg: Added support for more constants 2020-06-18 17:02:30 +02:00
orbitcowboy ae7f1843ab wxwidgets.cfg: Added support for more constants 2020-06-18 16:59:57 +02:00
orbitcowboy 2ac3892a14 wxwidgets.cfg: Added support for more constants 2020-06-18 16:58:57 +02:00
orbitcowboy f06956c8ae wxwidgets.cfg: Added support for more constants 2020-06-18 16:57:15 +02:00
Daniel Marjamäki 6756587ac9 astyle formatting
[ci skip]
2020-06-18 12:05:24 +02:00
orbitcowboy bf4a6bc09a wxwidgets.cfg: Added support for more constants 2020-06-18 09:58:20 +02:00
Ken-Patrick Lehrmann c297ed8204 Better handle noreturn or throwing functions in valueflow
Teaching cppcheck about `BOOST_THROW_EXCEPTION` and
`boost::throw_exception`, and using noreturn information from libraries
in value flow.

This fixes false positive nullPointerRedundantCheck with the following
code:
```
void throwexception(int * buf)
{
    if (!buf)
        boost::throw_exception(std::bad_alloc());
    *buf = 0;
}
```
2020-06-17 19:06:14 +02:00
Daniel Marjamäki fe4657f218 Tweaked cppunit.cfg 2020-06-17 13:10:30 +02:00
orbitcowboy b60b083af8 wxwidgets.cfg: Added support for more interfaces 2020-06-15 20:03:20 +02:00
orbitcowboy b3d0a520fc wxwidgets.cfg: Added support for more interfaces. 2020-06-15 09:53:40 +02:00
orbitcowboy 505509e6c0 wxwidgets.cfg: Added support for more interfaces. 2020-06-15 09:47:58 +02:00
orbitcowboy f8c37e771c wxwidgets.cfg: Added support for more interfaces. 2020-06-15 09:42:26 +02:00
orbitcowboy 67d73ecf86 wxwidgets.cfg: Added support for more interfaces. 2020-06-15 09:39:36 +02:00
orbitcowboy c0e14e8981 wxwidgets.cfg: Added support for more interfaces. 2020-06-15 09:29:46 +02:00
orbitcowboy 1fae8735b6 wxwidgets.cfg: Added support for more interfaces 2020-06-14 10:18:26 +02:00
orbitcowboy d4b60394f8 wxwidgets.cfg: Added support for more interfaces 2020-06-14 10:14:53 +02:00
orbitcowboy ba3d461588 wxwidgets.cfg: Added support for more interfaces 2020-06-14 10:10:05 +02:00
orbitcowboy 1a5f076802 wxwidgets.cfg: Added support for more interfaces 2020-06-14 10:06:23 +02:00
orbitcowboy a3d58a9302 std.cfg: Allow scientific floating point notation for '<valid>'-tags 2020-06-12 08:51:33 +02:00
orbitcowboy 05b98712e8 std.cfg: Added valid range for 'acosh' 2020-06-11 09:22:24 +02:00
orbitcowboy 6c93a82575 std.cfg: Added valid range for 'atanh' 2020-06-11 09:19:47 +02:00
Matthias Kuhn 91b4d6950b
Add Q_FLAG macro to qt.cfg (#2671)
* Add Q_FLAG macro to qt.cfg

https://doc.qt.io/qt-5/qobject.html#Q_FLAG

```
error,unknownMacro,There is an unknown macro here somewhere. Configuration is required. If Q_FLAG is a macro then please configure it.
```

* Add Matthias Kuhn to authors
2020-06-06 22:44:04 +02:00
orbitcowboy 92f95c850e wxwidgets.cfg: Added support for more interfaces 2020-06-05 13:22:33 +02:00
orbitcowboy 5477c54c3e wxwidgets.cfg: Updated configuration of wxUIActionSimulator::Text() according to 5b810b129d 2020-06-02 18:31:30 +02:00
orbitcowboy 0a6150ae1c wxwidgets.cfg: Added support for more interfaces 2020-05-31 09:21:22 +02:00
Sebastian 5cbed0464c
opencv2.cfg: Add types, macros, functions and memory (de)allocation (#2620)
* opencv2.cfg: Add types, macros, functions and memory (de)allocation

* cfg/cppcheck-cfg.rng: Allow alloc/realloc functions in classes
2020-05-30 17:41:44 +02:00
orbitcowboy 70d2f02442 wxwidgets.cfg: Added support for more interfaces 2020-05-30 10:32:17 +02:00
orbitcowboy d87680f965 wxwidgets.cfg: Added support for wxTextCtrl::SaveFile() 2020-05-27 11:18:17 +02:00
orbitcowboy 7b7d96ee4c Added support for more interfaces 2020-05-23 20:20:34 +02:00
orbitcowboy 5142c9e9ed wxwidgets.cfg: Fixed containerOutOfBounds-false negatives for wxArrayInt and wxArrayString. These containers have std::vector like implementation 2020-05-23 09:24:01 +02:00
orbitcowboy b8ad44d269 wxwidgets.cfg: Added support for macros found by daca@home 2020-05-20 23:44:21 +02:00
orbitcowboy d0e2fd240b wxwidgets.cfg: Added support for more interfaces. 2020-05-17 14:35:48 +02:00
orbitcowboy 652700ff64 wxwidgets.cfg: Added support for more interfaces. 2020-05-17 14:32:16 +02:00
orbitcowboy 2c3b79fe86 wxwidgets.cfg: Added support for more interfaces. 2020-05-17 14:28:12 +02:00
orbitcowboy cabd0ec146 wxwidgets.cfg: Added support for more interfaces. 2020-05-17 14:24:58 +02:00
orbitcowboy f37308c0fd wxwidgets.cfg: Added support for more interfaces. 2020-05-17 14:17:26 +02:00
orbitcowboy 5c12602596 wxwidgets.cfg: Added support for more interfaces. 2020-05-17 10:11:51 +02:00
orbitcowboy 9382ebf9d8 wxwidgets.cfg: Added support for more interfaces. 2020-05-17 10:04:50 +02:00
orbitcowboy ee30b7e9a2 wxwidgets.cfg: Added support for more interfaces. 2020-05-17 10:01:16 +02:00
orbitcowboy aa7f73709b wxwidgets.cfg: Added support for more interfaces. 2020-05-17 09:47:14 +02:00
orbitcowboy cfe674bbf7 wxwidgets.cfg: Added support for more interfaces. 2020-05-16 21:45:54 +02:00
orbitcowboy 8613c06ba9 wxwidgets.cfg: Added support for more interfaces. 2020-05-16 21:39:19 +02:00
orbitcowboy 6c9e3223e8 wxwidgets.cfg: Added support for more interfaces. 2020-05-16 21:33:36 +02:00
orbitcowboy bef8c20b05 wxwidgets.cfg: Cleanup wrong entry 2020-05-16 21:29:14 +02:00
orbitcowboy 10c07c6284 wxwidgets.cfg: Added support for more interfaces. 2020-05-16 21:27:52 +02:00
orbitcowboy 1d2c6176da wxwidgets.cfg: Added support for more interfaces. 2020-05-16 21:21:27 +02:00
orbitcowboy 6b6d3761e2 wxwidgets.cfg: Added support for more interfaces. 2020-05-16 21:06:41 +02:00
orbitcowboy dab0180aef wxwidgets.cfg: Added support for more interfaces 2020-05-12 12:24:35 +02:00
orbitcowboy 57f491dcdb wxwidgets.cfg: Added support for more interfaces 2020-05-12 12:17:22 +02:00
orbitcowboy f4bf36c385 windows.cfg: Removed not needed '<use-retval/>'-tag 2020-05-11 18:01:22 +02:00
orbitcowboy 19105661c5 windows.cfg: Added missing argument 2020-05-11 17:17:30 +02:00
orbitcowboy 90d7ad2c10 windows.cfg: Added support for more interfaces 2020-05-11 17:15:45 +02:00
orbitcowboy 93d9f38dc8 wxwidgets.cfg: Added support for wxDialog::ShowModal() and derived functions. 2020-05-08 09:53:31 +02:00
Gabor Marton 9960d2ee29
[posix.cfg] Fix fstat family (#2629)
* [posix.cfg] Fix fstat family
* Move fstatat64 and __fxstatat64 to gnu.cfg
2020-05-08 09:16:59 +02:00
Gabor Marton 36bacc5917
[posix.cfg] Fix file descriptor params to have proper range value (#2628)
* [posix.cfg] Fix file descriptor params to have proper range value
2020-05-08 09:14:00 +02:00
Gabor Marton d21c7dab28
[posix.cfg] Fix ttyname_r typo (#2630) 2020-05-08 09:13:38 +02:00
orbitcowboy 184977730c wxwidgets.cfg: Fixed false positive because Cppcheck cfg is not able to handle overloaded functions 2020-05-01 20:12:42 +02:00
Sebastian ff88bf1080
gtk.cfg: Add some missing macro/function configurations (#2619)
Found by daca@home
2020-04-23 14:09:09 +02:00
orbitcowboy ce8c94390f wxwidgets.cfg: Added support for more interfaces. 2020-04-15 17:11:08 +02:00
orbitcowboy 36b4a5566a wxwidgets.cfg: Added support for more macros and constants 2020-04-14 08:25:28 +02:00
orbitcowboy 0d1a476b1f wxwidgets.cfg: Added support for more interfaces. 2020-04-12 15:30:41 +02:00
orbitcowboy db4b1f9578 wxwidgets.cfg: Added support for more interfaces. 2020-04-11 15:40:15 +02:00
orbitcowboy d0af136f10 wxwidgets.cfg: Added support for more interfaces. 2020-04-11 15:36:57 +02:00
Daniel Marjamäki efb583e3d1 astyle formatting
[ci skip]
2020-04-04 10:31:38 +02:00
Paul Fultz II a22a77c1fc
Use library config for unstable containers instead of hardcoded values (#2585)
* Use library config for unstable containers instead of hardcoded values

* Fix xml validation
2020-04-03 13:16:57 +02:00
orbitcowboy c78e3e7c03 windows.cfg: Added support for some constants from shellapi.h 2020-03-31 08:55:35 +02:00
orbitcowboy 1e8ff89d2f windows.cfg: Added support for some constants from shellapi.h 2020-03-31 08:51:12 +02:00
orbitcowboy 9a52d2b939 wxwidgets.cfg: Added support for more interfaces 2020-03-27 23:15:06 +01:00
orbitcowboy 326d6fbb33 wxwidgets.cfg: Added support for more interfaces 2020-03-27 08:55:22 +01:00
orbitcowboy f21605496b wxwidgets.cfg: Added support for more interfaces 2020-03-26 17:31:59 +01:00
orbitcowboy 3972c5c723 wxwidgets.cfg: Added support for more interfaces 2020-03-26 17:07:32 +01:00
orbitcowboy 46222d58ef windows.cfg: Added more contants from WinUser.h 2020-03-22 16:18:34 +01:00
orbitcowboy a171f524cf wxwidgets.cfg: Added support for missing constant wxPropertyGrid. 2020-03-20 22:51:51 +01:00
orbitcowboy cdcde7855d wxwidgets.cfg: Added support for more interfaces. 2020-03-19 16:56:33 +01:00
orbitcowboy 5d5aef5de2 googletest.cfg: Formatted cfg. There are no functional changes 2020-03-19 16:56:16 +01:00
ChristophStrehle b302896751
Define the MOCK_METHOD macro (#2571)
Without the macro defined the following would yield a syntax error:
struct IFoo
{
	virtual GetInt(const std::string& name) = 0;
};

struct MockFoo : IFoo
{
	MOCK_METHOD(int32_t, GetInt, (const std::wstring &name), (override, const));
};

Co-authored-by: Christoph Strehle <strehle@teamviewer.com>
2020-03-17 14:25:07 +01:00
orbitcowboy 4e63613855 wxwidgets.cfg: Added support for more interfaces. 2020-03-16 17:51:48 +01:00
orbitcowboy 637c4e2bc0 wxwidgets.cfg: Added support for more interfaces. 2020-03-15 19:39:23 +01:00