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

Qt creator hangs when defining enum class in a class between its constructor and desctructor.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.8.0-beta1
    • Qt Creator 4.6.0-rc1, Qt Creator 4.7.0, Qt Creator 4.8.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • All
    • de975aca4f08141b1c6475e58f5cfa316fdd1350 (qt-creator/qt-creator/4.8)

    Description

      The bug is easy to reproduce.

      Defining an enum class between Foo constructor and destructor causes crash. Crash happens at the moment when you hit space after enum class .

      ```

      class Foo

      {

      public:

         Foo() {}

         >>>>>>

         /* Define a enum class here..*/

         enum class

         <<<<<<<

         ~Foo() {}

      };

      ```

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-20952
        # Subject Branch Project Status CR V

        Activity

          People

            kosjar Nikolai Kosjar
            kadironay Kadir Önay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes