summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/CodeCompleteConsumer.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-08 22:20:28 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-08 22:20:28 +0000
commitff73a9e3809d81dbf752a9d6142d740b66ade619 (patch)
tree6ea3c968d1fd5e785487fabf83bfcdba98ef7d6d /clang/lib/Sema/CodeCompleteConsumer.cpp
parent84d461865965192f7a71627887a0ea8e5dd5afb7 (diff)
downloadbcm5719-llvm-ff73a9e3809d81dbf752a9d6142d740b66ade619.tar.gz
bcm5719-llvm-ff73a9e3809d81dbf752a9d6142d740b66ade619.zip
When instantiating statements that involve conditions (if, while, do,
for, and switch), be careful to construct the full expressions as soon as we perform template instantation, so we don't either forget to call temporary destructors or destroy temporaries at the wrong time. This is the template-instantiation analogue to r103187, during which I hadn't realized that the issue would affect the handling of these constructs differently inside and outside of templates. Fixes a regression in Boost.Function. llvm-svn: 103357
Diffstat (limited to 'clang/lib/Sema/CodeCompleteConsumer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud