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

Crash with Clang code model set with a C++ template class nested in another template class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 3.2.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      Hello,
      I'm using the RC1 of QtCreator 3.2 on a Debian Jessie laptop with Qt 5.3.1 installed from distribution's repository. I get a crash with Clang (v. 3.4.2) code model enable with the code attached whenever I type left angle bracket to specify template arguments in the inner template class. Commenting out the f() function or changing it's return type to anything other than Y (the inner template class) allows to avoid the crash.

      Attachments

        1. clang_ver.txt
          1 kB
        2. crash_log.txt
          2 kB
        3. project_settings.pro
          0.2 kB
        4. sample_code.cpp
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            msaru MSaru
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes