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

        For Gerrit Dashboard: QTCREATORBUG-29182
        # Subject Branch Project Status CR V

        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