]> granicus.if.org Git - clang/commit
In RewriteFunctionBody, using DeclStmt::decl_iterator to rewrite the Decls in a DeclS...
authorTed Kremenek <kremenek@apple.com>
Mon, 6 Oct 2008 18:47:09 +0000 (18:47 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 6 Oct 2008 18:47:09 +0000 (18:47 +0000)
commitfda4fede1bb84d4c371f63f77e6c3e5383952c55
treea3147fcbc1a99d0d3d62805f48afb432344969ea
parent8369a8bdd6fe999de05be7c42af49aaa73da7855
In RewriteFunctionBody, using DeclStmt::decl_iterator to rewrite the Decls in a DeclStmt instead of  using getDecl() to fetch the first Decl.

Steve: Please review this patch.  'make test' passes, and my cursory scan of the rewriter leads me to believe this doesn't break anything, but I'm not sure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57195 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/RewriteBlocks.cpp