Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.13.0
-
None
Description
The completion hint for the QTest macros (probably for other macros too, need to verify) like QFAIL, QVERIFY, etc. does not show the macro parameter list but rather the parameter list for the underlying function.
So instead
#define QFAIL(message)
you see
void QTest::qFail(const char *statementStr, const char *file, int line)
as function completion hint, like shown in the attached screenshot.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-21183 Code completion for function-like macros suggests parameters for resolved call
- Open