fixed #12056 - qt.cfg: implemented `Q_OBJECT` to get rid of `symbolDatabaseWarning` in selfcheck (#5533)
This commit is contained in:
parent
f2461781fd
commit
d1b42d0771
|
@ -4,14 +4,12 @@ bitwiseOnBoolean
|
||||||
|
|
||||||
# temporary suppressions - fix the warnings!
|
# temporary suppressions - fix the warnings!
|
||||||
simplifyUsing:lib/valueptr.h
|
simplifyUsing:lib/valueptr.h
|
||||||
|
simplifyUsing:gui/temp/moc_*.cpp
|
||||||
varid0:gui/projectfile.cpp
|
varid0:gui/projectfile.cpp
|
||||||
templateInstantiation
|
templateInstantiation
|
||||||
|
|
||||||
# warnings in Qt generated code we cannot fix
|
# warnings in Qt generated code we cannot fix
|
||||||
symbolDatabaseWarning:gui/temp/moc_*.cpp
|
|
||||||
simplifyUsing:gui/temp/moc_*.cpp
|
|
||||||
funcArgNamesDifferent:gui/temp/moc_*.cpp
|
funcArgNamesDifferent:gui/temp/moc_*.cpp
|
||||||
symbolDatabaseWarning:tools/triage/temp/moc_*.cpp
|
|
||||||
naming-varname:gui/temp/ui_*.h
|
naming-varname:gui/temp/ui_*.h
|
||||||
naming-varname:cmake.output/gui/ui_*.h
|
naming-varname:cmake.output/gui/ui_*.h
|
||||||
functionStatic:gui/temp/ui_fileview.h
|
functionStatic:gui/temp/ui_fileview.h
|
||||||
|
|
|
@ -9,4 +9,7 @@ unusedFunction:gui/codeeditor.*
|
||||||
# usage is disabled
|
# usage is disabled
|
||||||
unusedFunction:lib/symboldatabase.cpp
|
unusedFunction:lib/symboldatabase.cpp
|
||||||
# false positive - #10661
|
# false positive - #10661
|
||||||
unusedFunction:oss-fuzz/main.cpp
|
unusedFunction:oss-fuzz/main.cpp
|
||||||
|
|
||||||
|
# Q_OBJECT functions which are not called in our code
|
||||||
|
unusedFunction:cmake.output.notest/gui/cppcheck-gui_autogen/*/moc_aboutdialog.cpp
|
|
@ -5081,7 +5081,7 @@
|
||||||
<define name="Q_LIKELY(expr)" value="expr"/>
|
<define name="Q_LIKELY(expr)" value="expr"/>
|
||||||
<define name="Q_NAMESPACE" value=""/>
|
<define name="Q_NAMESPACE" value=""/>
|
||||||
<define name="Q_NULLPTR" value="NULL"/>
|
<define name="Q_NULLPTR" value="NULL"/>
|
||||||
<define name="Q_OBJECT" value=""/>
|
<define name="Q_OBJECT" value="static void qt_static_metacall(QObject*,QMetaObject::Call,int,void**);const MetaObject* metaObject() const;void* qt_metacast(const char*);int qt_metacall(QMetaObject::Call,int,void**);"/>
|
||||||
<define name="Q_PRIVATE_SLOT(d, signature)" value=""/>
|
<define name="Q_PRIVATE_SLOT(d, signature)" value=""/>
|
||||||
<define name="Q_SLOTS" value=""/>
|
<define name="Q_SLOTS" value=""/>
|
||||||
<!-- Treat as variadic macro to avoid preprocessorErrorDirective -->
|
<!-- Treat as variadic macro to avoid preprocessorErrorDirective -->
|
||||||
|
|
Loading…
Reference in New Issue