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

Details

    Description

      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++.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: