Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24571

Wrong completion hint for QFAIL, QVERIFY, etc. macros

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.13.0
    • C/C++/Obj-C++ Support
    • None
    • All

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes