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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 3.3.0
    • C/C++/Obj-C++ Support
    • None

      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.

        1. decltype.png
          7 kB
          Ivan Baldin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kosjar Nikolai Kosjar
            partisan Ivan Baldin
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes