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

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: Qt Creator 4.8.0-beta1
    • Fix Version/s: Qt Creator 4.8.0-beta2
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Environment:
      macOS Mojave 10.14
    • Platform/s:
      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

            • Assignee:
              yvvan Ivan Donchevskii
              Reporter:
              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