]> granicus.if.org Git - clang/commit
Correct importing of the type of a TemplateArgument
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 22 Oct 2014 19:54:16 +0000 (19:54 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 22 Oct 2014 19:54:16 +0000 (19:54 +0000)
commit8cc64716c297df8b4d95692391368fb6d325198e
treeb600ace2ac1a5e534fd3dfd7aca5f458159247c0
parent8387021d215b1b4223b3ae5626a9b6f31e3eab6f
Correct importing of the type of a TemplateArgument

It's not clear how this would be tested - I imagine we should have an
ASTImporter test that RAVs the new AST and checks that all the elements
in it are from this ASTContext and not the foreign one... but I know
little about the ASTImporter and how/where that testing might be done.

(post-commit review feedback from Richard Smith on r219900)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp