qt.cfg: add implementations for macros to avoid unreadVariable FPs
This commit is contained in:
parent
56d68d1aae
commit
09d505219c
|
@ -1325,16 +1325,16 @@
|
|||
<define name="Q_Q(Class)" value="Class * const q = q_func()"/>
|
||||
<define name="Q_RETURN_ARG(type, data)" value="QReturnArgument<type >(#type, data)"/>
|
||||
<define name="Q_UNLIKELY(expr)" value="expr"/>
|
||||
<define name="Q_UNUSED(X)" value="(void)X;"/>
|
||||
<define name="Q_UNUSED(X)" value="(void)(X)"/>
|
||||
<define name="QT_TR_NOOP(x)" value="x"/>
|
||||
<define name="QT_TR_NOOP_UTF8(x)" value="x"/>
|
||||
<define name="QT_TRANSLATE_NOOP(scope, x)" value="x"/>
|
||||
<define name="QT_TRANSLATE_NOOP_UTF8(scope, x)" value="x"/>
|
||||
<define name="QT_TRANSLATE_NOOP3(scope, x, comment)" value="{x, comment}"/>
|
||||
<define name="QT_TRANSLATE_NOOP3_UTF8(scope, x, comment)" value="{x, comment}"/>
|
||||
<define name="QCOMPARE(a,b)" value=""/>
|
||||
<define name="QVERIFY(expr)" value=""/>
|
||||
<define name="QVERIFY2(cond, msg)" value=""/>
|
||||
<define name="QCOMPARE(a,b)" value="(void)((a)==(b))"/>
|
||||
<define name="QVERIFY(expr)" value="(void)(expr)"/>
|
||||
<define name="QVERIFY2(cond, msg)" value="(void)(cond)"/>
|
||||
<define name="QBENCHMARK_ONCE" value=""/>
|
||||
<define name="QBENCHMARK" value=""/>
|
||||
<define name="QTRY_COMPARE(actual, expected)" value=""/>
|
||||
|
|
Loading…
Reference in New Issue