commit | e9ee23edd17c4bb7f271e67f8790792b4de677fc | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Apr 22 18:44:12 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Apr 22 18:44:12 2010 +0000 |
tree | 4588b8e20cf8033c3ba36ddd453cc3b2f0a308d6 | |
parent | fe1ea7b3e4552a612a1b0a11734598651e5ddfdf [diff] |
Use the naming class from the overloaded lookup when access-checking an address of overloaded function, instead of assuming that a nested name specifier was used. A nested name specifier is not required for static functions. Fixes PR6886. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102107 91177308-0d34-0410-b5e6-96231b3b80d8