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

vptr is not first when Sort Members is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.5.0-rc1
    • Qt Creator 3.5.0-rc1
    • Debugger
    • None
    • d327a110300d5498fbadba3f363d117cd3a3518

    Description

      struct Foo
      {
          virtual ~Foo() {}
          int A;
          int z;
      };
      
      int main()
      {
          Foo foo;
          return 0; // Break here
      }

      The order is supposed to be "[vptr], A, z". Instead, it is "A, [vptr], z"

      Attachments

        Activity

          People

            hjk hjk
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: