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

Windows: Clang: Editor does not replace "." operator for pointers

XMLWordPrintable

      1. Have these two lines in a cpp-file:
            QApplication *p;
            p
        
      2. After the second "p", type a dot (".").
        With Creator's internal code model, the dot will immediately be replaced by an arrow (->). When using the clang code model, this does not work.

      The editors should have the same behavior, no matter which code model is working in the background. This works on Ubuntu.

      Found using Squish test tst_memberoperator.

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

            kosjar Nikolai Kosjar
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes