commit | c2233c5c46eafebd5529bf2bbd1f0a723b892e61 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Jan 15 08:34:02 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Jan 15 08:34:02 2010 +0000 |
tree | 5e67491f0f22000bded4f2f7c29a0d1b3e8f6a15 | |
parent | 88c8bc83808588fdb97924144ca9fb5f27dfc9a6 [diff] |
Don't repeat lookup when instantiating resolved member expressions. Adjust BuildMemberReferenceExpr to perform the inheritance check on implicit member accesses, which can arise from unqualified lookups and therefore may reference decls from enclosing class scopes. Fixes PR 5838. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93510 91177308-0d34-0410-b5e6-96231b3b80d8