[PATCH] D86441: [SyntaxTree] Split ExplicitTemplateInstantiation test

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 03:40:53 PDT 2020


gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:3054
 
-TEST_P(SyntaxTreeTest, ExplicitTemplateInstantations) {
+TEST_P(SyntaxTreeTest, ExplicitTemplateInstantation_Definition) {
   if (!GetParam().isCXX()) {
----------------



================
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:3076
 
-template struct X<double>;
-extern template struct X<float>;
+TEST_P(SyntaxTreeTest, ExplicitTemplateInstantation_Declaration) {
+  if (!GetParam().isCXX()) {
----------------



================
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:3099
+
+TEST_P(SyntaxTreeTest, TemplateSpecialization_Partial) {
+  if (!GetParam().isCXX()) {
----------------



================
Comment at: clang/unittests/Tooling/Syntax/BuildTreeTest.cpp:3129
+
+TEST_P(SyntaxTreeTest, TemplateSpecialization_Full) {
+  if (!GetParam().isCXX()) {
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86441/new/

https://reviews.llvm.org/D86441



More information about the cfe-commits mailing list