diff options
author | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-05-06 00:11:07 +0000 |
---|---|---|
committer | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-05-06 00:11:07 +0000 |
commit | 5f802e51406664ca9b6e0d57fc7ce37ea97a1c65 (patch) | |
tree | 092c543a1a637a13e3b418206e5d8622eb91deaa /lib/Parse/ParseDecl.cpp | |
parent | 536e9c1f103f3e59ed47e35090819eb93596c35b (diff) |
Revert r130912 in order to approach defaulted functions from the other
direction and not introduce things in the wrong place three different
times.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 1eaae678e2..a20e90bd0e 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -966,11 +966,6 @@ Decl *Parser::ParseDeclarationAfterDeclaratorAndAttributes(Declarator &D, Diag(DelLoc, diag::warn_deleted_function_accepted_as_extension); Actions.SetDeclDeleted(ThisDecl, DelLoc); - } else if (Tok.is(tok::kw_default)) { - SourceLocation DefLoc = ConsumeToken(); - Diag(DefLoc, diag::err_default_special_members); - - ThisDecl->setInvalidDecl(); } else { if (getLang().CPlusPlus && D.getCXXScopeSpec().isSet()) { EnterScope(0); |