]> granicus.if.org Git - clang/commit
Provide a default constructor for ObjCInterfaceDecl::DefinitionData
authorDouglas Gregor <dgregor@apple.com>
Thu, 15 Dec 2011 16:51:02 +0000 (16:51 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 15 Dec 2011 16:51:02 +0000 (16:51 +0000)
commit161794732195881c33305f701f6e58721998541f
tree05873bcad23132aec3ca3d9c05d85ef9f1f9c8f7
parent31b9a984d7eaa3e886e2da231f165434c15e82ef
Provide a default constructor for ObjCInterfaceDecl::DefinitionData
that value-initializes all of its members for which
default-initialization does not suffice. This should clean up the
failures for compilers that do not implement C++ DR543:

  http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#543

and, therefore, implement very unfortunate semantics for
value-initialization of classes with implicitly-declared, non-trivial
default constructors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146658 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclObjC.h