summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2011-05-06 00:11:07 +0000
committerAlexis Hunt <alercah@gmail.com>2011-05-06 00:11:07 +0000
commit58dad7d97871e1f7e78a677dcdf6135273cfb717 (patch)
treed670ca18c221500b44328dce22fc1fc88b2848e6 /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
parenta7028848a1d413ad846a61e9f1b9969377220364 (diff)
downloadbcm5719-llvm-58dad7d97871e1f7e78a677dcdf6135273cfb717.tar.gz
bcm5719-llvm-58dad7d97871e1f7e78a677dcdf6135273cfb717.zip
Revert r130912 in order to approach defaulted functions from the other
direction and not introduce things in the wrong place three different times. llvm-svn: 130968
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplateInstantiateDecl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
index 2c0c7ae90ff..f6cbe267b4e 100644
--- a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+++ b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
@@ -1375,8 +1375,7 @@ TemplateDeclInstantiator::VisitCXXMethodDecl(CXXMethodDecl *D,
StartLoc, NameInfo, T, TInfo,
Constructor->isExplicit(),
Constructor->isInlineSpecified(),
- false,
- Constructor->isExplicitlyDefaulted());
+ false);
} else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) {
Method = CXXDestructorDecl::Create(SemaRef.Context, Record,
StartLoc, NameInfo, T, TInfo,
OpenPOWER on IntegriCloud