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

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.

      Found using Squish test tst_memberoperator.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes