summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
diff options
context:
space:
mode:
authorFaisal Vali <faisalv@yahoo.com>2018-04-26 00:42:40 +0000
committerFaisal Vali <faisalv@yahoo.com>2018-04-26 00:42:40 +0000
commita534f07f8c790c6a2244a183aed4b38d5485236a (patch)
treea7bbb3f0c0cb2b72acb826b795aad38a8fa79d5c /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
parent563296abd8a1b2a9f2cd6675094ea448d0adbf1f (diff)
downloadbcm5719-llvm-a534f07f8c790c6a2244a183aed4b38d5485236a.tar.gz
bcm5719-llvm-a534f07f8c790c6a2244a183aed4b38d5485236a.zip
Revert rC330794 and some dependent tiny bug fixes
See Richard's humbling feedback here: http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20180423/226482.html http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20180423/226486.html Wish I'd had the patience to solicit the feedback prior to committing :) Sorry for the noise guys. Thank you Richard for being the steward that clang deserves! llvm-svn: 330888
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplateInstantiateDecl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
index 0ebcb03ca32..a7883c67b80 100644
--- a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+++ b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
@@ -3073,11 +3073,6 @@ Decl *TemplateDeclInstantiator::VisitFriendTemplateDecl(FriendTemplateDecl *D) {
return nullptr;
}
-Decl *TemplateDeclInstantiator::VisitConceptDecl(ConceptDecl *D) {
- llvm_unreachable("Concept definitions cannot reside inside a template");
- return nullptr;
-}
-
Decl *TemplateDeclInstantiator::VisitDecl(Decl *D) {
llvm_unreachable("Unexpected decl");
}
OpenPOWER on IntegriCloud