]> granicus.if.org Git - clang/commit
When we simply return a retained member expression when instantiating, we must also...
authorAnders Carlsson <andersca@mac.com>
Tue, 22 Dec 2009 05:24:09 +0000 (05:24 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 22 Dec 2009 05:24:09 +0000 (05:24 +0000)
commit1f24032ea28d0df9d6227e4faf89306dfa990994
tree838d94a8afa98f2365db350f634c7053124dc296
parentbba48cbd77ff5168b32efa9b77845d45f9205e48
When we simply return a retained member expression when instantiating, we must also mark the member decl as referenced.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91887 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h
test/SemaTemplate/instantiate-member-expr.cpp [new file with mode: 0644]