cppcheck/test/cfg
Rikard Falkeborn 2cacb13f85
Fix #10671: functionConst FN with begin/end and const_iterator (#3749)
Check if the iterator is assigned to a const_iterator or
const_revese_iterator, in which case it is possible the function can be
const. Unfortunately, it is not possible to remove the hard coding of
cbegin, cend, crbegin and crend due to the need to handle auto, as in
the following code snippet:

    void cbegin_auto(void)
    {
        for (auto it = m_str.cbegin(); it != m_str.cend(); ++it) {;}
    }
2022-02-02 19:37:06 +01:00
..
boost.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
bsd.c Uninitvar: fixed 'make checkcfg' 2021-10-03 20:32:39 +02:00
cairo.c cairo.cfg: Add library configuration/tests/... for cairo library (#2176) 2019-09-19 08:48:04 +02:00
cppunit.cpp cfg: cppunit: Fix FP with compareBoolExpressionWithInt within CPPUNIT_ASSERT_EQUAL (#2879) 2020-11-04 07:48:53 +01:00
generate-cfg-tests.sh fixed/excluded some shellcheck warnings and actually fail the build when something is found (#3068) 2021-01-20 18:43:49 +01:00
gnu.c astyle formatting 2021-05-03 16:34:55 +02:00
googletest.cpp Improve definitions for googletest ASSERT_* macros (#3694) 2022-01-12 22:09:17 +01:00
gtk.c Make ci happy 2021-10-03 22:01:13 +02:00
kde.cpp Fix issue 10208: FP: knownConditionTrueFalse in for loop with function that assigns by ref (#3198) 2021-04-18 21:42:27 +02:00
libcurl.c libcurl.cfg: Add library configuration for libcurl (#2120) 2019-08-29 15:11:59 +02:00
libsigc++.cpp libsigc++.cfg: Add configuration for library libsigc++ (#2291) 2019-10-26 17:37:14 +02:00
lua.c lua.cfg: Add Lua C API library configuration with tests (#2119) 2019-08-29 11:38:21 +02:00
opencv2.cpp opencv2.cfg: Add types, macros, functions and memory (de)allocation (#2620) 2020-05-30 17:41:44 +02:00
openmp.c CI; fix test/cfg/openmp.c 2021-05-14 22:16:54 +02:00
openssl.c Fix -Wint-conversion warning 2019-11-26 18:03:47 +03:00
posix.c Fix #10091 FP shadowFunction with default destructor implementation / Tests for #8635, #9776, #9940, #9951, #10018 (#3763) 2022-02-02 19:30:49 +01:00
python.c Fix CI; Cppcheck find some more unusedAllocatedMemory violations in test/cfg/.. 2021-05-13 23:08:58 +02:00
qt.cpp Code formatting 2022-01-25 13:08:05 +01:00
runtests.sh wxwidgets.cfg: Fixed wrong configuration for wxLogApiError(). This function does return after appending data to wxLog(). Ensure that no duplicateBreak-warning is issued in case code resides afterwards. 2021-04-13 13:07:15 +02:00
sqlite3.c Fix issue 9783: wrong lifetime analysis temporary assigned to object (#2711) 2020-09-02 07:13:15 +02:00
std.c Uninitvar: fixed 'make checkcfg' 2021-10-03 20:32:39 +02:00
std.cpp Fix #10671: functionConst FN with begin/end and const_iterator (#3749) 2022-02-02 19:37:06 +01:00
windows.cpp Fix 10726: Crash in CheckExceptionSafety::checkRethrowCopy (#3711) 2022-01-16 12:35:51 +01:00
wxwidgets.cpp Fix issue 10208: FP: knownConditionTrueFalse in for loop with function that assigns by ref (#3198) 2021-04-18 21:42:27 +02:00