]> granicus.if.org Git - clang/commit
When performing a delayed access check, use the surrounding lexical context for
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Dec 2013 03:35:27 +0000 (03:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Dec 2013 03:35:27 +0000 (03:35 +0000)
commit537efc0429415ab25937fd1dce2c00d149d7f36f
tree1c136f6e506ed7a29ad3e3dd137dd5fb8b1b73c9
parent6ab1e941149a0fe2688f7d2bdc458db2b641cdd3
When performing a delayed access check, use the surrounding lexical context for
any local extern declaration, not just a local extern function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197000 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaAccess.cpp
test/SemaCXX/access.cpp