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

Clang: No completion in ctor-initializer after colon (':')

    XMLWordPrintable

Details

    Description

      struct Foo {
          Foo(int) :  // Complete here
      
          int HELLO;
      };
      

      Only the Qt Creator snippets are part of the completion results, but no actual results from libclang. Especially there is no "HELLO" completion item.

      Adding a function definition (declaration is not enough) before the HELLO declaration helps.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes