[PATCH] D41179: [Sema] Diagnose template specializations with C linkage

Faisal Vali via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 17 19:58:17 PST 2017

faisalv added inline comments.

Comment at: lib/Sema/SemaTemplate.cpp:7029
+  }
   // C++ [temp.expl.spec]p2:
What do you think about factoring this out into a separate function that is then called both from here and CheckTemplateDeclScope (since it is exactly the same code?)


More information about the cfe-commits mailing list