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

QBS + clang semantic highlighter parses headers as c rather then c++ source.

XMLWordPrintable

      Basically, setting up hello world qbs application with some header file.
      Clang semantic highlighter gives a very weird result on super simple code in header file:
      http://www.zimagez.com/zimage/screenshot-22032014-181948.php

      'class A' is underlined with an error "unknown typename 'class'".

      This means the header parses as a c source, rather than c++.

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

            kosjar Nikolai Kosjar
            shiftz Andrew Shevchenko
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes