[PATCH] D41910: [Concepts] Constrained partial specializations and function overloads.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 06:32:33 PDT 2019


balazske added inline comments.


================
Comment at: lib/AST/ASTImporter.cpp:5096
+    if (!ClassTemplate->findPartialSpecialization(TemplateArgs,
+            PartSpec->getAssociatedConstraints(), InsertPos))
       // Add this partial specialization to the class template.
----------------
This looks correct: `PartSpec` is the new instance (but this is not the best name for it, maybe `PartialSpec2`?).
But: How are the "associated constraint" expressions imported (stored somewhere in the To context)?


Repository:
  rC Clang

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

https://reviews.llvm.org/D41910





More information about the cfe-commits mailing list