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

Invalid syntax checker errors when using decltype (C++11)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.3.0
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None

      Description

      Accessing class' public types via decltype incorrectly underlines the statement with "unexpected token" tooltip. For example while "value_type" of STL container. No problem with compilation on gcc 4.9.

        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:
                partisan Ivan Baldin
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes