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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: