]> granicus.if.org Git - clang/commit
When starting a C++ member access expression, make sure to compute the
authorDouglas Gregor <dgregor@apple.com>
Wed, 4 Nov 2009 22:49:18 +0000 (22:49 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 4 Nov 2009 22:49:18 +0000 (22:49 +0000)
commit43d8863df9d02f81acdf5f73fbc288f285bf442e
tree499765eca2c79dd82d6ebdb046a82a3630c4f562
parent655fe9b0d93471e02d6510058355389bbac154f8
When starting a C++ member access expression, make sure to compute the
type of the object even when it is dependent. Specifically, this makes
sure that we get the right type for "this->", which is important when
performing name lookup into this scope to determine whether an
identifier or operator-function-id is a template name.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86060 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXScopeSpec.cpp
lib/Sema/SemaExprCXX.cpp
test/SemaTemplate/member-template-access-expr.cpp