]> granicus.if.org Git - clang/commit
There is no reason for dereferencing a pointer-to-member to require
authorDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 20:41:14 +0000 (20:41 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 20:41:14 +0000 (20:41 +0000)
commit7d520baec9b762633a09d31ee0db12e41fe2758a
tree798b4f8dd1513ddd109e87e85664479d33d7d864
parent43c0a4cae05cf78225d5996cf7d62d7a133d665c
There is no reason for dereferencing a pointer-to-member to require
that the class type into which the pointer points be complete, even
though the standard requires it. GCC/EDG do not require a complete
type here, so we're calling this a problem with the standard. Fixes
PR8328.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116429 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/member-pointer.cpp
test/SemaTemplate/instantiate-complete.cpp