]> granicus.if.org Git - clang/commit
Implement the suggested resolution of WG21 N3307 issue 19: When determining whether...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 5 Sep 2011 02:13:09 +0000 (02:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 5 Sep 2011 02:13:09 +0000 (02:13 +0000)
commit017ab77655b262311a3550342ca19b85380f8f20
tree9ab45c95b9199557e88c17616b7ebba656b232f5
parentf747ce6235e9257230846f52b5fc79e65c210444
Implement the suggested resolution of WG21 N3307 issue 19: When determining whether a class is an aggregate in C++0x, treat all functions which are neither deleted nor defaulted as user-provided, not just special member functions. The wording of the standard only defines the term "user-provided" for special member functions, but the intent seems to be that any function can be user-provided.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139111 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclCXX.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1-0x.cpp
test/SemaCXX/aggregate-initialization.cpp