]> granicus.if.org Git - clang/commit
[Modules] Fix regression when an elaborated-type-specifier mentions a hidden tag
authorBen Langmuir <blangmuir@apple.com>
Thu, 10 Dec 2015 17:28:51 +0000 (17:28 +0000)
committerBen Langmuir <blangmuir@apple.com>
Thu, 10 Dec 2015 17:28:51 +0000 (17:28 +0000)
commit698885113770ae8b407170a211719dc6638c6c1b
treebd38c8938cbc00879d9b25e756d71cfc6079f299
parent76fd8510f100035c743cba5d5f4620fb6abb8bb9
[Modules] Fix regression when an elaborated-type-specifier mentions a hidden tag

This makes non-C++ languages find the same decl as C++ does to
workaround a regression introduced in r252960.

rdar://problem/23784203

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255267 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Modules/Inputs/elaborated-type-structs.h [new file with mode: 0644]
test/Modules/Inputs/module.map
test/Modules/elaborated-type-specifier-from-hidden-module.m [new file with mode: 0644]