]> granicus.if.org Git - clang/commit
Emulate a MSVC bug where the creation of pointer-to-member to protected member of...
authorFrancois Pichet <pichet2000@gmail.com>
Tue, 17 Apr 2012 12:35:05 +0000 (12:35 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Tue, 17 Apr 2012 12:35:05 +0000 (12:35 +0000)
commitb2d899e9ae8a48c4057a48664213948934b877fa
tree3cece7cae22cb1c166c865d0c3ff9bb0c3f50b82
parent0407a04049016bdd6fe4fda462aa199d82c750d4
Emulate a MSVC bug where the creation of pointer-to-member to protected member of base class is allowed but only from a static function.

This fixes a regression when parsing MFC code with clang.

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