[PATCH] D44406: [CodeView] Emit HasConstructorOrDestructor class option

Aaron Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 13 21:14:32 PDT 2018


asmith added a comment.

VS only sets HasConstructorOrDestructor for this example:

  struct C {
    C(const C &) {}
  };
  
  Class (0x1007) {
      TypeLeafKind: LF_CLASS (0x1504)
      MemberCount: 1
      Properties [ (0x202)
        HasConstructorOrDestructor (0x2)
        HasUniqueName (0x200)
      ]
      FieldList: <field list> (0x1006)
      DerivedFrom: 0x0
      VShape: 0x0
      SizeOf: 1
      Name: CCC
      LinkageName: .?AVCCC@@
    }


Repository:
  rL LLVM

https://reviews.llvm.org/D44406





More information about the llvm-commits mailing list