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

enum inside function doesn't work in some cases

XMLWordPrintable

      Class member function:

      class Foo { void func(); };
      
      void Foo::func()
      {
        enum E { val1, val2, val3 };
        val<complete> // doesn't work
      }

      Inside a nested struct in a function:

      void foo()
      {
        struct S {
          void fun()
          {
            enum E { val1, val2, val3 };
            val<complete> // doesn't work
          }
        };
      }

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

            kosjar Nikolai Kosjar
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes