"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cfg/qt.cfg" between
cppcheck-1.86.tar.gz and cppcheck-1.87.tar.gz

About: Cppcheck is a static analysis tool for C/C++ code. It checks for memory leaks, mismatching allocation-deallocation, buffer overrun, and many more.

qt.cfg  (cppcheck-1.86):qt.cfg  (cppcheck-1.87)
skipping to change at line 112 skipping to change at line 112
<arg nr="2"> <arg nr="2">
<not-uninit/> <not-uninit/>
</arg> </arg>
<arg nr="3"> <arg nr="3">
<not-uninit/> <not-uninit/>
</arg> </arg>
<arg nr="4"> <arg nr="4">
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- QAction *QMenu::addAction(const QString &text) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text) -->
<!-- QAction *QMenu::addAction(const QString &text, const QObject *receiver, c
onst char *member, const QKeySequence &shortcut = 0) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const Q
Object *receiver, const char *member, const QKeySequence &shortcut = 0) -->
<!-- QAction *QMenu::addAction(const QString &text, const QObject *receiver, P
ointerToMemberFunction method, const QKeySequence &shortcut = ...) -->
<!-- QAction *QMenu::addAction(const QString &text, Functor functor, const QKe
ySequence &shortcut = ...) -->
<!-- QAction *QMenu::addAction(const QString &text, const QObject *context, Fu
nctor functor, const QKeySequence &shortcut = 0) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const Q
Object *receiver, PointerToMemberFunction method, const QKeySequence &shortcut =
...) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, Functor
functor, const QKeySequence &shortcut = ...) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const Q
Object *context, Functor functor, const QKeySequence &shortcut = 0) -->
<function name="QMenu::addAction">
<noreturn>false</noreturn>
<returnValue type="QAction *"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<!-- QString QObject::tr(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) //static --> <!-- QString QObject::tr(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) //static -->
<function name="tr,QObject::tr"> <function name="tr,QObject::tr">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="QString"/> <returnValue type="QString"/>
<use-retval/> <use-retval/>
<leak-ignore/> <leak-ignore/>
<arg nr="1"> <arg nr="1">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<strz/> <strz/>
skipping to change at line 1140 skipping to change at line 1160
<!-- QString QDir::fromNativeSeparators(const QString &pathName) --> <!-- QString QDir::fromNativeSeparators(const QString &pathName) -->
<!-- QString QDir::toNativeSeparators(const QString &pathName) --> <!-- QString QDir::toNativeSeparators(const QString &pathName) -->
<function name="QDir::fromNativeSeparators,QDir::toNativeSeparators"> <function name="QDir::fromNativeSeparators,QDir::toNativeSeparators">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="QString"/> <returnValue type="QString"/>
<use-retval/> <use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- bool QFile::exists(const QString &fileName) // static -->
<!-- bool QFile::exists() const -->
<function name="QFile::exists">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" default="&quot;&quot;">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- bool QFile::open(OpenMode mode) --> <!-- bool QFile::open(OpenMode mode) -->
<!-- bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags = D ontCloseHandle) --> <!-- bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags = D ontCloseHandle) -->
<!-- bool QFile::open(int fd, OpenMode mode, FileHandleFlags handleFlags = Don tCloseHandle) --> <!-- bool QFile::open(int fd, OpenMode mode, FileHandleFlags handleFlags = Don tCloseHandle) -->
<function name="QFile::open"> <function name="QFile::open">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="bool"/> <returnValue type="bool"/>
<leak-ignore/> <leak-ignore/>
<arg nr="any"> <arg nr="any">
<not-uninit/> <not-uninit/>
</arg> </arg>
skipping to change at line 1207 skipping to change at line 1239
</function> </function>
<!-- QStringList QFileDialog::getOpenFileNames(QWidget *parent = Q_NULLPTR, co nst QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Opti ons()) //static --> <!-- QStringList QFileDialog::getOpenFileNames(QWidget *parent = Q_NULLPTR, co nst QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Opti ons()) //static -->
<function name="QFileDialog::getOpenFileNames"> <function name="QFileDialog::getOpenFileNames">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="QStringList"/> <returnValue type="QStringList"/>
<use-retval/> <use-retval/>
<arg nr="any"> <arg nr="any">
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- qFatal(const char *message, ...) -->
<function name="qFatal">
<noreturn>true</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="1">
<not-uninit/>
<formatstr/>
<strz/>
</arg>
</function>
<container id="qtContainer" opLessAllowed="false"> <container id="qtContainer" opLessAllowed="false">
<type templateParameter="0"/> <type templateParameter="0"/>
<size> <size>
<function name="append" action="push"/> <function name="append" action="push"/>
<function name="clear" action="clear"/> <function name="clear" action="clear"/>
<function name="count" yields="size"/> <function name="count" yields="size"/>
<function name="erase" action="erase"/> <function name="erase" action="erase"/>
<function name="insert" action="insert"/> <function name="insert" action="insert"/>
<function name="isEmpty" yields="empty"/> <function name="isEmpty" yields="empty"/>
<function name="length" yields="size"/> <function name="length" yields="size"/>
skipping to change at line 1267 skipping to change at line 1310
<access indexOperator="array-like"> <access indexOperator="array-like">
<function name="at" yields="at_index"/> <function name="at" yields="at_index"/>
<function name="front" yields="item"/> <function name="front" yields="item"/>
<function name="back" yields="item"/> <function name="back" yields="item"/>
</access> </access>
</container> </container>
<define name="Q_ARG(type, data)" value="QArgument&lt;type &gt;(#type, data)"/> <define name="Q_ARG(type, data)" value="QArgument&lt;type &gt;(#type, data)"/>
<!-- TODO: Enable when ticket 8479 got fixed <!-- TODO: Enable when ticket 8479 got fixed
<define name="Q_D(Class)" value="Class##Private * const d = d_func()"/> <define name="Q_D(Class)" value="Class##Private * const d = d_func()"/>
--> -->
<define name="Q_CLASSINFO(Name, Value)" value=""/>
<define name="Q_DECL_EXPORT" value=""/> <define name="Q_DECL_EXPORT" value=""/>
<define name="Q_DECL_IMPORT" value=""/> <define name="Q_DECL_IMPORT" value=""/>
<define name="Q_DECLARE_FLAGS(x,y)" value=""/> <define name="Q_DECLARE_FLAGS(x,y)" value=""/>
<define name="Q_DECLARE_PRIVATE(Class)" value="inline Class##Private* d_func() { return reinterpret_cast&lt;Class##Private*&gt;(qGetPtrHelper(d_ptr)); } inlin e const Class##Private d_func() const { return reinterpret_cast&lt;const Class## Private *&gt;(qGetPtrHelper(d_ptr)); } friend class Class##Private;"/> <define name="Q_DECLARE_PRIVATE(Class)" value="inline Class##Private* d_func() { return reinterpret_cast&lt;Class##Private*&gt;(qGetPtrHelper(d_ptr)); } inlin e const Class##Private d_func() const { return reinterpret_cast&lt;const Class## Private *&gt;(qGetPtrHelper(d_ptr)); } friend class Class##Private;"/>
<define name="Q_DISABLE_COPY(C)" value="C(C&amp;);C&amp; operator=(const C&amp ;);"/> <define name="Q_DISABLE_COPY(C)" value="C(C&amp;);C&amp; operator=(const C&amp ;);"/>
<define name="Q_ENUM(X)" value=""/> <define name="Q_ENUM(X)" value=""/>
<define name="Q_ENUMS(X)" value=""/> <define name="Q_ENUMS(X)" value=""/>
<define name="Q_FLAGS(X)" value=""/> <define name="Q_FLAGS(X)" value=""/>
<define name="Q_INTERFACES(X)" value=""/> <define name="Q_INTERFACES(X)" value=""/>
<define name="Q_NULLPTR" value="NULL"/>
<define name="Q_OBJECT" value=""/> <define name="Q_OBJECT" value=""/>
<define name="Q_PROPERTY(X)" value=""/> <define name="Q_PROPERTY(X)" value=""/>
<define name="Q_Q(Class)" value="Class * const q = q_func()"/> <define name="Q_Q(Class)" value="Class * const q = q_func()"/>
<define name="Q_RETURN_ARG(type, data)" value="QReturnArgument&lt;type &gt;(#t ype, data)"/> <define name="Q_RETURN_ARG(type, data)" value="QReturnArgument&lt;type &gt;(#t ype, data)"/>
<define name="Q_UNUSED(X)" value="(void)X;"/> <define name="Q_UNUSED(X)" value="(void)X;"/>
<define name="QCOMPARE(a,b)" value="assert( (a) == (b) )"/>
<define name="QVERIFY(expr)" value="assert( expr )"/>
<define name="QVERIFY2(cond, msg)" value="assert( cond )"/>
<define name="foreach(A,B)" value="for(A:B)"/> <define name="foreach(A,B)" value="for(A:B)"/>
<define name="emit(X)" value="(X)"/> <define name="emit(X)" value="(X)"/>
<define name="Q_PLUGIN_METADATA(x)" value=""/>
<!-- https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef --> <!-- https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef -->
<define name="qreal" value="double"/> <define name="qreal" value="double"/>
<podtype name="qint8" sign="s" size="1"/> <podtype name="qint8" sign="s" size="1"/>
<podtype name="qint16" sign="s" size="2"/> <podtype name="qint16" sign="s" size="2"/>
<podtype name="qint32" sign="s" size="4"/> <podtype name="qint32" sign="s" size="4"/>
<podtype name="qint64" sign="s" size="8"/> <podtype name="qint64" sign="s" size="8"/>
<podtype name="quint8" sign="u" size="1"/> <podtype name="quint8" sign="u" size="1"/>
<podtype name="quint16" sign="u" size="2"/> <podtype name="quint16" sign="u" size="2"/>
<podtype name="quint32" sign="u" size="4"/> <podtype name="quint32" sign="u" size="4"/>
<podtype name="quint64" sign="u" size="8"/> <podtype name="quint64" sign="u" size="8"/>
 End of changes. 7 change blocks. 
0 lines changed or deleted 58 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)