HomePhabricator

[ASTImporter] Fix redecl failures of ClassTemplateSpec

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

Details

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