]> granicus.if.org Git - clang/commit
Implement C++ [basic.lookup.classref]p3, which states how the type
authorDouglas Gregor <dgregor@apple.com>
Fri, 20 Nov 2009 22:03:38 +0000 (22:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 20 Nov 2009 22:03:38 +0000 (22:03 +0000)
commitf6e6fc801c700c7b8ac202ddbe550d9843a816fc
treed0308a7f0aff792b98a58928e7b6f5c4256d7edf
parentd90e0eee4347f2985d4cc1a5f052223b7047da0d
Implement C++ [basic.lookup.classref]p3, which states how the type
name 'T' is looked up in the expression

  t.~T()

Previously, we weren't looking into the type of "t", and therefore
would fail when T actually referred to an injected-class-name. Fixes
PR5530.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89493 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Action.h
lib/Parse/MinimalAction.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
test/SemaCXX/pseudo-destructors.cpp