Go to file
Reid Kleckner 916ac4d233 ms-compat: Fix taking the address of a member of a dependent base
If unqualified id lookup fails while parsing a class template with a
dependent base, clang with -fms-compatibility will pretend the user
prefixed the name with 'this->' in order to delay the lookup.  However,
if there was a unary ampersand, Sema::ActOnDependentIdExpression() will
create a DependentDeclRefExpr, which is not what we wanted at all.  Fix
this by building the CXXDependentScopeMemberExpr directly instead.

In order to be fully MSVC compatible, we would have to defer all
attempts at name lookup to instantiation time.  However, until we have
real problems with system headers that can't be parsed, we'll put off
implementing that.

Fixes PR16014.

Reviewers: rsmith

Differential Revision: http://llvm-reviews.chandlerc.com/D1892

llvm-svn: 192727
2013-10-15 18:38:02 +00:00
clang ms-compat: Fix taking the address of a member of a dependent base 2013-10-15 18:38:02 +00:00
clang-tools-extra Add missing dependency for clang-modernize. 2013-10-15 18:01:06 +00:00
compiler-rt [lsan] Fix bug when discovering indirectly leaked objects. 2013-10-15 16:00:11 +00:00
debuginfo-tests don't use CHECK-NEXT because it may be on the same line. 2013-09-18 23:01:54 +00:00
libclc Port pocl's gen_convert.py script to libclc 2013-10-10 19:09:01 +00:00
libcxx r192075 broke the buildbot at 2013-10-14 18:02:02 +00:00
libcxxabi [unwind] Fix unw_init_remote_thread() use to void* instead of thread_t for parameter to match other implementations 2013-10-08 22:59:34 +00:00
lld Bug 17569: add namespaces to work with gcc-4.7 2013-10-14 21:24:48 +00:00
lldb string.h and clang headers are apparently no longer necessary for SBType to compile 2013-10-15 18:14:34 +00:00
llvm Fix PR17546 2013-10-15 17:51:58 +00:00
openmp Update web pages to include style sheets and referenced documents missed before. 2013-10-03 11:55:28 +00:00
polly clang-format: No empty line after 'public:' 2013-10-15 14:41:02 +00:00