hanchenye-llvm-project/clang/test/CXX/special
Douglas Gregor 53e191ed94 Properly implement the scope restriction on the NRVO for
throw-expressions, such that we don't consider the NRVO when the
non-volatile automatic object comes from outside the innermost try
scope (C++0x [class.copymove]p13). In C++98/03, our ASTs were
incorrect but it didn't matter because IR generation doesn't actually
apply the NRVO here. In C++0x, however, we were moving from an object
when in fact we should have copied from it. Fixes PR10142 /
<rdar://problem/9714312>.

llvm-svn: 134548
2011-07-06 22:04:06 +00:00
..
class.copy Properly implement the scope restriction on the NRVO for 2011-07-06 22:04:06 +00:00
class.ctor Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
class.dtor Start fixing up clang tests to work on the clang-native-arm-cortex-a9 builder. 2011-06-06 21:23:05 +00:00
class.free Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class.inhctor Revert "Disable inherited constructors for 2.9." 2011-03-12 13:44:32 +00:00
class.init/class.base.init Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00