summaryrefslogtreecommitdiffstats
path: root/test/CXX/class/class.mem/p2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Bah...Bill Wendling2012-05-121-17/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_31@156702 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r155426:Bill Wendling2012-05-121-1/+9
| | | | | | | | | | | | | ------------------------------------------------------------------------ r155426 | rsmith | 2012-04-23 22:48:42 -0700 (Mon, 23 Apr 2012) | 3 lines Don't try to delay parsing the exception specification for a data member of a class; we would never actually parse it and attach it to the type. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_31@156701 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r155424:Bill Wendling2012-05-121-1/+10
| | | | | | | | | | | | | ------------------------------------------------------------------------ r155424 | rsmith | 2012-04-23 22:06:35 -0700 (Mon, 23 Apr 2012) | 3 lines PR12629: Cope with parenthesized function types when attaching a delayed exception specification to a function. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_31@156679 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the last part of C++ [class.mem]p2, delaying the parsing ofDouglas Gregor2012-04-161-0/+27
| | | | | | | | | | exception specifications on member functions until after the closing '}' for the containing class. This allows, for example, a member function to throw an instance of its own class. Fixes PR12564 and a fairly embarassing oversight in our C++98/03 support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154844 91177308-0d34-0410-b5e6-96231b3b80d8
* Diagnose attempts to implicitly instantiate a template before it isJohn McCall2011-04-271-0/+31
fully defined. Somehow this escaped notice for a very long time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130298 91177308-0d34-0410-b5e6-96231b3b80d8