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

Completion not working inside BOOST_TEST macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 8.0.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

    Description

      Given the following code:

      BOOST_AUTO_TEST_CASE(Test1)
      {
        int foobar = 42;
        BOOST_CHECK_EQUAL(foobar, foobar);  // #1
        BOOST_TEST(foobar == foobar);       // #2
      }
      
      • On line #1, as soon as I type "fo", a completion popup appears for "foobar" (among dozens of other choices).
      • On line #2, only built-in keywords such as "for" and "for range-based" are suggested.

      This is with the latest 8.0.0 snapshot (May 18) and with clangd enabled.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            pesa Davide Pesavento
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes