diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-14 17:31:00 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-14 17:31:00 +0000 |
commit | 63bbe5312cd89ce0ceb684bff68c5baef636e93c (patch) | |
tree | 3fbff95830634771941dd2997b69727ecc67b591 /include/clang/Analysis/LocalCheckers.h | |
parent | 6d39760673df2e92d9293f46ff8c66dad6ab5e0a (diff) |
Path-sensitive analyses no longer take a FunctionDecl, but any Decl representing
a block of "code".
Patched various ASTConsumers (such as ASTDumper) to have more support for
processing ObjCMethodDecl. CFGVisitor now builds CFGs for ObjCMethodDecls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/LocalCheckers.h')
-rw-r--r-- | include/clang/Analysis/LocalCheckers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Analysis/LocalCheckers.h b/include/clang/Analysis/LocalCheckers.h index 3ae41f4ce9..0966ffc039 100644 --- a/include/clang/Analysis/LocalCheckers.h +++ b/include/clang/Analysis/LocalCheckers.h @@ -18,7 +18,7 @@ namespace clang { class CFG; -class FunctionDecl; +class Decl; class Diagnostic; class ASTContext; @@ -27,7 +27,7 @@ void CheckDeadStores(CFG& cfg, ASTContext &Ctx, Diagnostic &Diags); void CheckUninitializedValues(CFG& cfg, ASTContext& Ctx, Diagnostic& Diags, bool FullUninitTaint=false); -void CheckCFRefCount(CFG& cfg, FunctionDecl& FD, ASTContext& Ctx, +void CheckCFRefCount(CFG& cfg, Decl& CodeDecl, ASTContext& Ctx, Diagnostic& Diag); } // end namespace clang |