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

Wrong completion hint for QFAIL, QVERIFY, etc. macros

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.13.0
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Platform/s:
      All

      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes