]> granicus.if.org Git - clang/commit
When marking the declarations in a default argument expression as
authorDouglas Gregor <dgregor@apple.com>
Tue, 14 Sep 2010 22:55:20 +0000 (22:55 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 14 Sep 2010 22:55:20 +0000 (22:55 +0000)
commit5833b0b831d6afae2885e6af420e2bda639652e6
tree9cd679ee2d9b42308f7c88f81f1b1665564a414d
parent4178b573b82449c2d888ea1f0957a478534e118c
When marking the declarations in a default argument expression as
"used", at the time that the default argument itself is used, also
mark destructors that will be called by this expression. This fixes a
regression that I introduced in r113700, which broke WebKit, and fixes
<rdar://problem/8427926>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113883 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprCXX.h
lib/AST/ExprCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/TreeTransform.h
test/SemaTemplate/default-expr-arguments.cpp