HomePhabricator

[ASTImporter] Fix redecl failures of ClassTemplateSpec

Authored by martong on Mar 19 2019, 6:34 AM.

Description

[ASTImporter] Fix redecl failures of ClassTemplateSpec

Summary:
Redecl chains of class template specializations are not handled well
currently. We want to handle them similarly to functions, i.e. try to
keep the structure of the original AST as much as possible. The aim is
to not squash a prototype with a definition, rather we create both and
put them in a redecl chain.

Reviewers: a_sidorin, shafik, a.sidorin

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58673

llvm-svn: 356452

Details

Committed
martongMar 19 2019, 6:34 AM
Differential Revision
D58673: [ASTImporter] Fix redecl failures of ClassTemplateSpec
Parents
rGb86ce219f4da: [DebugInfo] Introduce DW_OP_LLVM_convert
Branches
Unknown
Tags
Unknown