Commit Graph

2244 Commits

Author SHA1 Message Date
orbitcowboy 7062b0a973 std.cfg: Improved configuration of std::[w]string::substr(). Do not allow negative length arguments. 2022-02-04 12:30:37 +01:00
orbitcowboy 1798b73808 cppcheck-cfg.rng: Increased number of allowed function arguments from 20 to 40. Have seen this number of arguments in generated code. 2022-02-03 15:35:09 +01:00
orbitcowboy 76b6203e0d cppcheck-cfg.rng: Allow return values to be started with '::'. 2022-02-03 15:24:30 +01:00
orbitcowboy 0cec93cab7 cppcheck-cfg.rng: Updated pattern that 'char const * const *' is accepted as return type as well. 2022-02-03 14:48:57 +01:00
orbitcowboy 81a25c0036 std.cfg: Added support for std::binary_search 2022-01-25 13:07:49 +01:00
orbitcowboy 87b7243a9f windows.cfg: Added support for _stricmp-functions 2022-01-25 08:28:27 +01:00
orbitcowboy 19f605c7e5 wxwidgets.cfg: Fixed wrong default argument 2022-01-19 16:42:22 +01:00
chrchr-github 95dc05b21d
Fix #7732 false negative: (style) Unused variable: std::pair (#3695) 2022-01-13 08:05:05 +01:00
Maurice Gilden 44b182c9a7
Improve definitions for googletest ASSERT_* macros (#3694)
This avoids assertWithSideEffect and follows more closely what the real macros
are doing, similar to the ones in boost.cfg and cppunit.cfg.
2022-01-12 22:09:17 +01:00
chrchr-github e4c8798974
Fix #10556 FP containerOutOfBounds with QList [inconclusive] (#3688) 2022-01-12 22:03:57 +01:00
chrchr-github 1670805a8d
Fix #10490 FP unreadVariable with std::shared_lock (#3672) 2022-01-10 07:43:02 +01:00
orbitcowboy 7bcedc20ab wxwidgets.cfg: Cleanup wrong arg config 2021-12-16 11:27:07 +01:00
orbitcowboy f845c9da79 wxwidgets.cfg: Added support for more interfaces 2021-12-16 11:20:33 +01:00
Maurice Gilden d1b3670017
Improve definitions for boost test macros (#3625)
Using assert in macros causes assertWithSideEffect in some cases, which is not
a valid issue for these macros.
Macros for test case/suite were causing unusedStructMember warnings because
the test function could not be parsed correctly. The new defines don't match
completely what the macros really do, but it seems to be a good enough
approximation.
2021-12-15 20:51:29 +01:00
orbitcowboy 48ab3f762b wxwidgets.cfg: Added support for more interfaces 2021-12-15 13:39:14 +01:00
orbitcowboy a84bce2266 wxwidgets.cfg: Added support for more interfaces 2021-12-15 13:29:23 +01:00
orbitcowboy 1dff1af199 wxwidgets.cfg: Added support for 'wxTextEntry::GetRange' 2021-12-15 13:12:36 +01:00
orbitcowboy 04f18a8251 wxwidgets.cfg: Added support for more interfaces 2021-12-15 13:07:40 +01:00
orbitcowboy 3ffc941783 wxwidgets.cfg: Added support for 'wxTextCtrl::GetStyle' 2021-12-15 13:02:17 +01:00
Daniel Marjamäki 77434d093e SymbolDatabase: Do not set wrong type for std::map etc items in range for loop 2021-12-11 15:16:54 +01:00
orbitcowboy 9ddc7f2d71 windows.cfg: Added support for _dupenv_s() and _wdupenv_s() 2021-12-04 16:32:22 +01:00
orbitcowboy 19006ab775 std.cfg: Added support for string::shrink_to_fit() 2021-12-03 14:36:30 +01:00
Daniel Marjamäki c39446ff77 bsd.cfg: configure err functions 2021-11-04 16:49:40 +01:00
orbitcowboy 218befd355 wxwidgets.cfg: Added support for more interfaces 2021-10-17 16:02:46 +02:00
orbitcowboy 4576691f64 wxwidgets.cfg: Added support for more interfaces 2021-10-17 15:55:38 +02:00
orbitcowboy d62242da27 windows.cfg: Added support for lstrcpyW() and lstrcpyA(). 2021-10-07 16:48:57 +02:00
orbitcowboy bd2c9c6133 wxwidgets.cfg: Added support for more interfaces 2021-10-07 09:20:36 +02:00
orbitcowboy d9b610013e wxwidgets.cfg: Added support for more interfaces 2021-10-07 09:05:53 +02:00
orbitcowboy 231cb4ccfe wxwidgets.cfg: Added support for more interfaces 2021-10-07 08:26:32 +02:00
chrchr-github c073123343
Add some macros to boost.cfg (#3487) 2021-10-06 16:25:55 +02:00
orbitcowboy e3e0b380e2 wxwdigets.cfg: Added support for more interfaces. 2021-10-06 10:33:04 +02:00
orbitcowboy a6515550d6 wxwdigets.cfg: Added support for more interfaces. 2021-10-06 10:22:08 +02:00
orbitcowboy f4e0b2a10f wxwdigets.cfg: Added support for more interfaces. 2021-10-06 10:11:49 +02:00
orbitcowboy 80a0ef5d7e wxwdigets.cfg: Added support for more interfaces. 2021-10-06 09:17:02 +02:00
orbitcowboy 1f8adbafcf wxwidgets.cfg: Added support for more interfaces 2021-10-05 19:22:48 +02:00
orbitcowboy a2ea8654b0 wxwidgets.cfg: Added support for more interfaces 2021-10-05 17:08:03 +02:00
Paul Fultz II 8668d445c7
Add support for string_view (#3480) 2021-10-05 08:28:19 +02:00
orbitcowboy 7c58b07926 windows.cfg: Added support for '_access_s' ref.: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-s-waccess-s?view=msvc-160 2021-09-29 12:56:36 +02:00
orbitcowboy e388bdc4da windows.cfg: Added support for FindFirstFileNameW 2021-09-20 11:54:16 +02:00
orbitcowboy e0cc879456 windows.cfg: Added support for StrCatW 2021-09-20 11:38:31 +02:00
orbitcowboy 578d3c3a93 Fixed #8723: False negative: Same expression with methods 2021-09-17 19:46:46 +02:00
Daniel Marjamäki 2a8b4ae7dc python.cfg: Add Py_RETURN_* macros to reduce missingReturn false positives in daca@home 2021-09-04 21:07:10 +02:00
orbitcowboy 34efa89e23 windows.cfg: Remove trailing white space 2021-08-31 14:21:25 +02:00
orbitcowboy 58dad23444 windows.cfg: Added support for more constants 'Winerror.h: COM Error Codes (XACT, SCHED, OLE)', taken from https://docs.microsoft.com/en-us/windows/win32/com/com-error-codes-2 2021-08-27 08:57:56 +02:00
orbitcowboy f027124756 windows.cfg: Added constants from Winerror.h: Winerror.h: COM Error Codes (Generic), taken from https://docs.microsoft.com/en-us/windows/win32/com/com-error-codes-1 2021-08-27 08:51:21 +02:00
orbitcowboy 54523e0d4f windows.cfg: Added constants from Winerror.h: COM Error Codes (Security and Setup), taken from https://docs.microsoft.com/en-us/windows/win32/com/com-error-codes-4?redirectedfrom=MSDN 2021-08-27 08:45:30 +02:00
Paul Fultz II 865163b2ba
Add library configurations for free functions like std::size, std::empty, etc (#3410) 2021-08-23 09:03:48 +02:00
ChristophStrehle 4f8b1b2f20
Add macros for data and template tests (#3395) 2021-08-13 18:07:18 +02:00
RudiDanner 38d45c1b9c
This adds MAIN_THREAD_EM_ASM which takes javascript and EMSCRIPTEN_BINDINGS for binding C++ to javascript (#3362)
Co-authored-by: Rudolf Danner <rudolf.danner@teamviewer.com>
2021-07-27 06:53:48 +02:00
Daniel Marjamäki b1547a387e astyle formatting
[ci skip]
2021-07-21 20:13:38 +02:00