qt.cfg: Add interfaces with new ignoredReturnErrorCode warnings (#2885)
* qt.cfg: Add interfaces with new ignoredReturnErrorCode warnings * Tweak xmllint configuration
This commit is contained in:
parent
9cbb09076c
commit
b75d0665a7
|
@ -116,7 +116,13 @@
|
|||
<element name="leak-ignore"><empty/></element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="use-retval"><empty/></element>
|
||||
<element name="use-retval"><empty/>
|
||||
<optional>
|
||||
<attribute name="type">
|
||||
<value>error-code</value>
|
||||
</attribute>
|
||||
</optional>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="returnValue">
|
||||
|
|
13
cfg/qt.cfg
13
cfg/qt.cfg
|
@ -4590,6 +4590,17 @@
|
|||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QSqlDatabase https://doc.qt.io/qt-5/qsqldatabase.html -->
|
||||
<!-- bool QSqlDatabase::commit() -->
|
||||
<!-- bool QSqlDatabase::rollback() -->
|
||||
<!-- bool QSqlDatabase::open() -->
|
||||
<!-- bool QSqlDatabase::transaction() -->
|
||||
<function name="QSqlDatabase::commit,QSqlDatabase::rollback,QSqlDatabase::open,QSqlDatabase::transaction">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval type="error-code"/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- QSqlQuery https://doc.qt.io/qt-5/qsqlquery.html -->
|
||||
<!-- void QSqlQuery::addBindValue(const QVariant &val, QSql::ParamType paramType = QSql::In) -->
|
||||
<function name="QSqlQuery::addBindValue">
|
||||
|
@ -4665,6 +4676,7 @@
|
|||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<use-retval type="error-code"/>
|
||||
<arg nr="1" direction="in" default="">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
|
@ -4776,6 +4788,7 @@
|
|||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<use-retval type="error-code"/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
|
|
Loading…
Reference in New Issue