qt.cfg: Add functions of class QRegExp (#2017)

This class is also used by the Cppcheck GUI.
Reference: https://doc.qt.io/qt-5/qregexp.html
This commit is contained in:
Sebastian 2019-07-22 12:53:58 +02:00 committed by GitHub
parent 82c6a72b48
commit 4986b02566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 175 additions and 0 deletions

View File

@ -2458,6 +2458,181 @@
<not-uninit/>
</arg>
</function>
<!-- QRegExp https://doc.qt.io/qt-5/qregexp.html -->
<!-- QString QRegExp::cap(int nth = 0) const -->
<function name="QRegExp::cap">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in" default="0">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<!-- int QRegExp::captureCount() const -->
<function name="QRegExp::captureCount">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- QStringList QRegExp::capturedTexts() const -->
<function name="QRegExp::capturedTexts">
<noreturn>false</noreturn>
<returnValue type="QStringList"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- Qt::CaseSensitivity QRegExp::caseSensitivity() const -->
<function name="QRegExp::caseSensitivity">
<noreturn>false</noreturn>
<returnValue type="Qt::CaseSensitivity"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- QString QRegExp::errorString() const -->
<function name="QRegExp::errorString">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- QString QRegExp::escape(const QString &str) // static -->
<function name="QRegExp::escape">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<leak-ignore/>
<pure/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- bool QRegExp::exactMatch(const QString &str) const -->
<function name="QRegExp::exactMatch">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- int QRegExp::indexIn(const QString &str, int offset = 0, QRegExp::CaretMode caretMode = CaretAtZero) const -->
<function name="QRegExp::indexIn">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in" default="0">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3" direction="in" default="CaretAtZero">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- bool QRegExp::isEmpty() const -->
<!-- bool QRegExp::isMinimal() const -->
<!-- bool QRegExp::isValid() const -->
<function name="QRegExp::isEmpty,QRegExp::isMinimal,QRegExp::isValid">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- int QRegExp::lastIndexIn(const QString &str, int offset = -1, QRegExp::CaretMode caretMode = CaretAtZero) const -->
<function name="QRegExp::lastIndexIn">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in" default="-1">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3" direction="in" default="CaretAtZero">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- int QRegExp::matchedLength() const -->
<function name="QRegExp::matchedLength">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- QString QRegExp::pattern() const -->
<function name="QRegExp::pattern">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- QRegExp::PatternSyntax QRegExp::patternSyntax() const -->
<function name="QRegExp::patternSyntax">
<noreturn>false</noreturn>
<returnValue type="QRegExp::PatternSyntax"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- int QRegExp::pos(int nth = 0) const -->
<function name="QRegExp::pos">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in" default="0">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void QRegExp::setCaseSensitivity(Qt::CaseSensitivity cs) -->
<!-- void QRegExp::setMinimal(bool minimal) -->
<!-- void QRegExp::setPattern(const QString &pattern) -->
<!-- void QRegExp::setPatternSyntax(QRegExp::PatternSyntax syntax) -->
<function name="QRegExp::setCaseSensitivity,QRegExp::setMinimal,QRegExp::setPattern,QRegExp::setPatternSyntax">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void QRegExp::swap(QRegExp &other) -->
<function name="QRegExp::swap">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1"/>
</function>
<!-- ##### Container ##### -->
<container id="qtContainer" opLessAllowed="false">
<type templateParameter="0"/>