aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-03-19 07:35:19 +0000
committerJohn McCall <rjmccall@apple.com>2010-03-19 07:35:19 +0000
commit9aa472c45d2bd81b7b52c225e8acc560d716db97 (patch)
tree9707af8aa3f84c899e0588d40aec11738ac6d9a3 /lib/Frontend/ASTUnit.cpp
parent5de65721bd31e57f883634d9f10b1bff75c4ffc2 (diff)
Remember the "found declaration" for an overload candidate, which is the
entity (if applicable) which was actually looked up. If a candidate was found via a using declaration, this is the UsingShadowDecl; otherwise, if the candidate is template specialization, this is the template; otherwise, this is the function. The point of this exercise is that "found declarations" are the entities we do access control for, not their underlying declarations. Broadly speaking, this patch fixes access control for using declarations. There is a *lot* of redundant code calling into the overload-resolution APIs; we really ought to clean that up. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions