summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/ASTImporterTest.cpp
diff options
context:
space:
mode:
authorGabor Marton <martongabesz@gmail.com>2018-05-25 11:21:24 +0000
committerGabor Marton <martongabesz@gmail.com>2018-05-25 11:21:24 +0000
commitb14056b7aab766fc1667a04069ff52448f491c23 (patch)
tree75109d5e43f26e5f282ad88b38f430b4e3bf3765 /clang/unittests/AST/ASTImporterTest.cpp
parentb4a70b9f47160a772f2a50d334bc5b8c4d605b15 (diff)
downloadbcm5719-llvm-b14056b7aab766fc1667a04069ff52448f491c23.tar.gz
bcm5719-llvm-b14056b7aab766fc1667a04069ff52448f491c23.zip
[ASTImporter] Fix ClassTemplateSpecialization in wrong DC
Summary: ClassTemplateSpecialization is put in the wrong DeclContex if implicitly instantiated. This patch fixes it. Reviewers: a.sidorin, r.stahl, xazax.hun Subscribers: rnkovacs, dkrupp, cfe-commits Differential Revision: https://reviews.llvm.org/D47058 llvm-svn: 333269
Diffstat (limited to 'clang/unittests/AST/ASTImporterTest.cpp')
-rw-r--r--clang/unittests/AST/ASTImporterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/ASTImporterTest.cpp b/clang/unittests/AST/ASTImporterTest.cpp
index c95e8fdaf80..76ea2594332 100644
--- a/clang/unittests/AST/ASTImporterTest.cpp
+++ b/clang/unittests/AST/ASTImporterTest.cpp
@@ -1214,7 +1214,7 @@ TEST_P(ASTImporterTestBase, TUshouldNotContainTemplatedDeclOfTypeAlias) {
TEST_P(
ASTImporterTestBase,
- DISABLED_TUshouldNotContainClassTemplateSpecializationOfImplicitInstantiation) {
+ TUshouldNotContainClassTemplateSpecializationOfImplicitInstantiation) {
Decl *From, *To;
std::tie(From, To) = getImportedDecl(
OpenPOWER on IntegriCloud