[PATCH] D26753: ASTImporter: improve support for C++ templates

Aleksei Sidorin via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 16 10:23:48 PST 2016


a.sidorin created this revision.
a.sidorin added reviewers: spyffe, khazem.
a.sidorin added a subscriber: cfe-commits.

- Support template partial specialization
- Avoid infinite recursion in IsStructurallyEquivalent for TemplateArgument with implementing IsStructurallyEquivalent for TemplateName


https://reviews.llvm.org/D26753

Files:
  include/clang/AST/TemplateBase.h
  lib/AST/ASTImporter.cpp
  test/ASTMerge/Inputs/class-template-partial-spec1.cpp
  test/ASTMerge/Inputs/class-template-partial-spec2.cpp
  test/ASTMerge/class-template-partial-spec.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26753.78212.patch
Type: text/x-patch
Size: 20158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161116/e54f624e/attachment-0001.bin>


More information about the cfe-commits mailing list