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

C++17 If statement with initializer support

    XMLWordPrintable

Details

    • c8f29b9e0 (11.0)

    Description

      C++17 If statement with initializer support get's highlighted as invalid code and prevents auto completion.

      if (auto myObj = getObject(); myObj->isFoo()) { ... }

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes