]> granicus.if.org Git - clang/commit
[modules] If we're treating an elaborated-type-specifier as if it introduces a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 9 Jan 2016 06:58:48 +0000 (06:58 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 9 Jan 2016 06:58:48 +0000 (06:58 +0000)
commitb3db27cd07f9e62076df5f571b359f9e90f779ec
treefa24e2a7aff0a410e73d8d8d9288f6a84b9fc057
parent72cc170915eee90eb0201581507a8f9b61a7d376
[modules] If we're treating an elaborated-type-specifier as if it introduces a
tag (because the previous declaration was found in a different module), inject
the tag into the appropriate scope (that is, the enclosing scope if we're in a
function prototype scope in C++).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257251 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Modules/tag-injection.cpp