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

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 4.3.1
    • C/C++/Obj-C++ Support
    • * 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: