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

Crash after uncaught exception std::out_of_range in editor with clang backend

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 4.8.0-beta2
    • Qt Creator 4.8.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • macOS Mojave 10.14
    • macOS

    Description

      Crash happens when trying press enter between curly braces in cpp editor.

      void testfunct() {
          {} // enter between triggers crash
      }

      Problems occurs in autotest .cpp files. Normal files does not have this issue.

      In autotest files I have this line #include "file.moc", and QtCreator complaining that this file cannot parse

      warning: The code model could not parse an included file .....

       

      Attachments

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

        Activity

          People

            yvvan Ivan Donchevskii
            fbucek fbucek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes