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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important 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

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

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes