[PATCH] D46909: [Sema] Fix assertion when constructor is disabled with partially specialized template.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 15 15:34:23 PDT 2018


vsapsai added inline comments.


================
Comment at: clang/lib/Sema/SemaTemplate.cpp:3873-3881
   // Find the variable template specialization declaration that
   // corresponds to these arguments.
   void *InsertPos = nullptr;
   if (VarTemplateSpecializationDecl *Spec = Template->findSpecialization(
           Converted, InsertPos)) {
     checkSpecializationVisibility(TemplateNameLoc, Spec);
     // If we already have a variable template specialization, return it.
----------------
Code of interest (will refer to it later).


https://reviews.llvm.org/D46909





More information about the cfe-commits mailing list