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

Wrong completion hint for QFAIL, QVERIFY, etc. macros

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.13.0
    • C/C++/Obj-C++ Support
    • None
    • 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

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes