PR14558: Compute triviality of special members (etc) at the end of the class
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Dec 2012 01:14:52 +0000 (01:14 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Dec 2012 01:14:52 +0000 (01:14 +0000)
commitbd3051272ce123eb34b2253739404c93bec52d1e
tree5879011b6c9034a97447c75f41c3fd27f84df741
parentd4c0c6cb2232c92f1259c2cb9e233fca9885078a
PR14558: Compute triviality of special members (etc) at the end of the class
definition, rather than at the end of the definition of the set of nested
classes. We still defer checking of the user-specified exception specification
to the end of the nesting -- we can't check that until we've parsed the
in-class initializers for non-static data members.

llvm-svn: 169805
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/CXX/special/class.ctor/p5-0x.cpp
clang/unittests/AST/DeclPrinterTest.cpp