]> granicus.if.org Git - clang/commit
Retain complete source information for the type after the '~' in a
authorDouglas Gregor <dgregor@apple.com>
Wed, 24 Feb 2010 23:40:28 +0000 (23:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 24 Feb 2010 23:40:28 +0000 (23:40 +0000)
commit26d4ac97fb514bb60c2536eae6f203dc569159d9
tree7d755fcdcb040ccfc58dad37b399dba8b25437cb
parent396a9f235e160093b5f803f7a6a18fad7b68bdbe
Retain complete source information for the type after the '~' in a
CXXPseudoDestructorExpr.

Update template instantiation for pseudo-destructor expressions to use
this source information and to make use of
Sema::BuildPseudoDestructorExpr when the base expression is dependent
or refers to a scalar type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97079 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprCXX.h
lib/AST/ExprCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/TreeTransform.h