]> granicus.if.org Git - clang/commit
Remove Decl::getCompoundBody().
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 7 Jul 2010 11:31:34 +0000 (11:31 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 7 Jul 2010 11:31:34 +0000 (11:31 +0000)
commit5f1bfc10a12d9759444eb433f52a85d2e0058967
treece58151b6722f9738b2efb3d52167deef2897136
parent6717ef4e695cb37b69dead5fae486c73f8a44a28
Remove Decl::getCompoundBody().

This has 2 (slight) advantages:
-Make explicit at getBody()'s callsite that we expect/handle only CompoundStmt and not CXXTryStmt.
-Better tracking of Decl::getBody()'s callsites.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107771 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
lib/AST/DeclBase.cpp
lib/Checker/BugReporter.cpp
lib/Rewrite/RewriteObjC.cpp