]> granicus.if.org Git - clang/commit
When referring to a tag that was previously declared only as a friend,
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Jun 2010 21:27:36 +0000 (21:27 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Jun 2010 21:27:36 +0000 (21:27 +0000)
commite1aa9f3a5d3e2c0f8a5606e82eef3c65a6f30672
tree275380caf39f46482f85350bd2a17503f3f1dda3
parentccd471341d2edbb18ac9c46a7c65d280d9c6223e
When referring to a tag that was previously declared only as a friend,
build a new declaration for that tag type that will be visible for
future lookups of that tag.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105643 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/friend.cpp