aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.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
commita0296f7987c0a50aa2a0b3ff6895b6980392640f (patch)
treea329976e3ad9fc4850c2f58ffa669d16dbdca691 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent3cab27578316dbf30ecbeff9288e31c400a64b6f (diff)
downloadllvm-a0296f7987c0a50aa2a0b3ff6895b6980392640f.zip
llvm-a0296f7987c0a50aa2a0b3ff6895b6980392640f.tar.gz
llvm-a0296f7987c0a50aa2a0b3ff6895b6980392640f.tar.bz2
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. llvm-svn: 98945
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions