]> granicus.if.org Git - clang/commit
[ASTImporter] Fix lexical DC for templated decls; support VarTemplatePartialSpecDecl
authorAleksei Sidorin <a.sidorin@samsung.com>
Wed, 14 Feb 2018 11:18:00 +0000 (11:18 +0000)
committerAleksei Sidorin <a.sidorin@samsung.com>
Wed, 14 Feb 2018 11:18:00 +0000 (11:18 +0000)
commitb7619d5070ec7ed287687a95550f53afa9c23ec9
tree07b0789a47d1c02e6e031d1bc59debbc83e32a1b
parent7b1bfe45423fcf2ac09f3b5cb7a7ef20596254ed
[ASTImporter] Fix lexical DC for templated decls; support VarTemplatePartialSpecDecl

Also minor refactoring in related functions was done.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325116 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp
test/ASTMerge/var-cpp/Inputs/var1.cpp [new file with mode: 0644]
test/ASTMerge/var-cpp/test.cpp [new file with mode: 0644]
unittests/AST/ASTImporterTest.cpp