From: Richard Smith Date: Tue, 29 Jul 2014 00:54:09 +0000 (+0000) Subject: Revert accidentally-committed files in r214151. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50c2f9732646f2209bb51b9d8bb018f252707b1c;p=clang Revert accidentally-committed files in r214151. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214152 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Modules/Inputs/cxx-templates-a.h b/test/Modules/Inputs/cxx-templates-a.h index 0289c8ada8..cfb8902db1 100644 --- a/test/Modules/Inputs/cxx-templates-a.h +++ b/test/Modules/Inputs/cxx-templates-a.h @@ -75,10 +75,3 @@ template struct MergeTemplateDefinitions { template constexpr int MergeTemplateDefinitions::f() { return 1; } template using AliasTemplate = T; - -template struct PartiallyInstantiatePartialSpec {}; -template struct PartiallyInstantiatePartialSpec { - static T *foo() { return reinterpret_cast(0); } - static T *bar() { return reinterpret_cast(0); } -}; -typedef PartiallyInstantiatePartialSpec PartiallyInstantiatePartialSpecHelper; diff --git a/test/Modules/Inputs/cxx-templates-b.h b/test/Modules/Inputs/cxx-templates-b.h index 5dbf1a1121..802b9262d8 100644 --- a/test/Modules/Inputs/cxx-templates-b.h +++ b/test/Modules/Inputs/cxx-templates-b.h @@ -73,5 +73,4 @@ template void UseDefinedInBImplIndirectly(T &v) { void TriggerInstantiation() { UseDefinedInBImpl(); Std::f(); - PartiallyInstantiatePartialSpec::foo(); } diff --git a/test/Modules/cxx-templates.cpp b/test/Modules/cxx-templates.cpp index b5036ff956..cbe9f35089 100644 --- a/test/Modules/cxx-templates.cpp +++ b/test/Modules/cxx-templates.cpp @@ -105,7 +105,6 @@ void g() { int &p = WithPartialSpecializationUse().f(); int &q = WithExplicitSpecializationUse().inner_template(); - int *r = PartiallyInstantiatePartialSpec::bar(); } static_assert(Outer::Inner::f() == 1, "");