]> granicus.if.org Git - clang/commit
[modules] When a tag type that was imported from a module is referenced via an
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 6 Jan 2016 03:52:10 +0000 (03:52 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 6 Jan 2016 03:52:10 +0000 (03:52 +0000)
commita81b22be300e72675708aacc9e7fe53ba01c67f3
tree909eb0d7dca6483108e14b323598542c690908f4
parent79dc9d7304c9baa19a7156f7c6f40287fec20f46
[modules] When a tag type that was imported from a module is referenced via an
elaborated-type-specifier, create a declaration of it to track that the current
module makes it visible too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256907 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Modules/tag-injection.cpp [new file with mode: 0644]