diff --git a/cfg/qt.cfg b/cfg/qt.cfg index 95dc022cf57..6a7b2f6704f 100644 --- a/cfg/qt.cfg +++ b/cfg/qt.cfg @@ -973,7 +973,7 @@ - + @@ -1004,7 +1004,7 @@ - + @@ -1014,7 +1014,7 @@ - + @@ -1032,7 +1032,7 @@ false - + @@ -1043,13 +1043,13 @@ false - + - + - + @@ -1059,10 +1059,10 @@ - + - + @@ -1070,7 +1070,7 @@ false - + @@ -1085,7 +1085,7 @@ false - + @@ -1094,10 +1094,10 @@ false - + - + @@ -1107,7 +1107,7 @@ false - + @@ -3449,7 +3449,7 @@ false - + diff --git a/cfg/std.cfg b/cfg/std.cfg index fc6a6c4d0f8..033fc15d2d6 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -6958,7 +6958,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun - + diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index fe2f48e3175..206314bcbb0 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -864,6 +864,38 @@ int constParameterPointer_QHash_count(const QHash& qh, int* k) return qh.count(k); } +void constParameterPointer_QMap_insert(QMap& m, int* k, int* v) { + m.insert(k, v); +} + +void constParameterPointer_QMap_find(const QMap& m, int* k) { + if (m.find(k) == m.end()) {} +} + +void constParameterPointer_QMap_contains(const QMap& m, int* k) { + if (m.contains(k)) {} +} + +int* constParameterPointer_QMap_key(const QMap& m, int* v, int* d) { + return m.key(v, d); +} + +int* constParameterPointer_QMap_value(const QMap& m, int* k) { + return m.value(k); +} + +int* constParameterPointer_QMap_value(const QMap& m, int* k, int* d) { + return m.value(k, d); +} + +void constParameterPointer_QMap_remove(QMap& m, int* k) { + m.remove(k); +} + +void constParameterPointer_QHash_remove(QHash& m, int* k) { + m.remove(k); +} + const QString& unassignedVariable_static_QString() // #12935 { static QString qs;