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

Clang: Correct C++17 code recognized as mistake (libclang 3.9 too old)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: Qt Creator 4.3.1
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Environment:
      * Ubuntu 16.04
       * Qt Creator 4.3.1
       * Qt 5.9.1

      Description

      Both constexpr–if statements and structured bindings are marked as wrong. C++17's getting well supported (gcc 7.1 here) and IMHO Qt Creator should deal with that stuff properly.

      Cropped screenshot below.

      Thanks in advance, btw – just lettin' you know that you're doing great work!

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kosjar Nikolai Kosjar
              Reporter:
              koczurekk Kamil Koczurek
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes