Re: [PATCH] D18653: [Sema] Diagnose template alias declaration in local class

2016-04-06 Thread Richard Smith via cfe-commits
rsmith closed this revision. rsmith added a comment. Landed as r265571. http://reviews.llvm.org/D18653 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D18653: [Sema] Diagnose template alias declaration in local class

2016-04-04 Thread Erik Pilkington via cfe-commits
erik.pilkington updated this revision to Diff 52641. erik.pilkington added a comment. Include local static data member template in test. Thanks for taking a look Richard, would you mind committing this for me? http://reviews.llvm.org/D18653 Files: lib/Sema/SemaDeclCXX.cpp test/CXX/temp/tem

Re: [PATCH] D18653: [Sema] Diagnose template alias declaration in local class

2016-03-31 Thread Richard Smith via cfe-commits
rsmith accepted this revision. This revision is now accepted and ready to land. Comment at: test/CXX/temp/temp.decls/temp.mem/p2.cpp:11 @@ -10,2 +10,3 @@ template void qux(); // expected-error{{templates cannot be declared inside of a local class}} +template using