summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class/class.mem/p2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When we see something that looks like a constructor with a return type, only ↵Richard Smith2015-07-061-5/+2
| | | | | | issue one error, not two. llvm-svn: 241424
* PR21437, final part of DR1330: delay-parsing of exception-specifications. ThisRichard Smith2014-11-131-0/+30
| | | | | | | is a re-commit of Doug's r154844 (modernized and updated to fit into current Clang). llvm-svn: 221918
* Disable our non-standard delayed parsing of exception specifications. DelayingRichard Smith2012-05-021-30/+0
| | | | | | | the parsing of such things appears to be a conforming extension, but it breaks libstdc++4.7's std::pair. llvm-svn: 155975
* PR12688: ParseCXXClassMemberDeclaration's sometimes-null ThisDecl takes anotherRichard Smith2012-04-291-0/+13
| | | | | | | victim. Don't crash if we have a delay-parsed exception specification for a class member which is invalid in a way which precludes building a FunctionDecl. llvm-svn: 155788
* Don't try to delay parsing the exception specification for a data member of aRichard Smith2012-04-241-1/+9
| | | | | | class; we would never actually parse it and attach it to the type. llvm-svn: 155426
* PR12629: Cope with parenthesized function types when attaching a delayedRichard Smith2012-04-241-1/+10
| | | | | | exception specification to a function. llvm-svn: 155424
* 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. llvm-svn: 154844
* 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. llvm-svn: 130298
OpenPOWER on IntegriCloud