aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-11-10 09:22:44 +0000
committerJohn McCall <rjmccall@apple.com>2011-11-10 09:22:44 +0000
commite63abb5d2bb4bb6eb0b81e44ce4aea9e78826e0b (patch)
treeac21130db3fff20d3723f6769d89b88aa371ec9d /clang/tools/c-index-test/c-index-test.c
parent1c7047375a180ff80abb414e2075b1d5a240bb77 (diff)
downloadllvm-e63abb5d2bb4bb6eb0b81e44ce4aea9e78826e0b.zip
llvm-e63abb5d2bb4bb6eb0b81e44ce4aea9e78826e0b.tar.gz
llvm-e63abb5d2bb4bb6eb0b81e44ce4aea9e78826e0b.tar.bz2
Fix a subtle bug with cleanups: when activating
a previously-inactive cleanup, not only do we need a flag variable, but we should also force the cleanup to query the flag variable. However, we only need to do this when we're activating in a context that's conditionally executed; otherwise, we may safely assume that the cleanup is dominated by the activation point. llvm-svn: 144271
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions