]> granicus.if.org Git - clang/commit
Fix two rewriter bugs with @catch.
authorSteve Naroff <snaroff@apple.com>
Fri, 1 Feb 2008 20:02:07 +0000 (20:02 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 1 Feb 2008 20:02:07 +0000 (20:02 +0000)
commite12e69223ec279e89ac681023d42184b115e0068
tree376ded40280d48bb68f9fe90edb142fbc4d6c8c4
parent5f0ad3f34c328f71aa53a68f3d4b788ae0541924
Fix two rewriter bugs with @catch.

- Support @catch(...), rather than crash:-)
- Make sure all catch bodies get rewritten. This "fix" is really a workaround until the iterator for the "try" AST is fixed. Will fix this in a separate commit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46644 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/RewriteTest.cpp
test/Rewriter/rewrite-try-catch.m