summaryrefslogtreecommitdiff
path: root/include/clang/Sema/AnalysisBasedWarnings.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-02-23 01:51:48 +0000
committerTed Kremenek <kremenek@apple.com>2011-02-23 01:51:48 +0000
commit3ed6fc08a9cd293d012fa49ab2a615e618d7c3fa (patch)
treead25ff3aa8bdb07ca115019904cf358a99c3199f /include/clang/Sema/AnalysisBasedWarnings.h
parent762696fff298627b72b63dbb0becf57f689801ca (diff)
downloadclang-3ed6fc08a9cd293d012fa49ab2a615e618d7c3fa.tar.gz
Issue AnalysisBasedWarnings as part of calling Sema::PopBlockOrFunctionScope(). No real functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/AnalysisBasedWarnings.h')
-rw-r--r--include/clang/Sema/AnalysisBasedWarnings.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/clang/Sema/AnalysisBasedWarnings.h b/include/clang/Sema/AnalysisBasedWarnings.h
index 0a6656e97e..192be4db2f 100644
--- a/include/clang/Sema/AnalysisBasedWarnings.h
+++ b/include/clang/Sema/AnalysisBasedWarnings.h
@@ -47,16 +47,13 @@ private:
enum VisitFlag { NotVisited = 0, Visited = 1, Pending = 2 };
llvm::DenseMap<const FunctionDecl*, VisitFlag> VisitedFD;
- void IssueWarnings(Policy P, const Decl *D, QualType BlockTy);
public:
AnalysisBasedWarnings(Sema &s);
- Policy getDefaultPolicy() { return DefaultPolicy; }
+ void IssueWarnings(Policy P, const Decl *D, const BlockExpr *blkExpr);
- void IssueWarnings(Policy P, const BlockExpr *E);
- void IssueWarnings(Policy P, const FunctionDecl *D);
- void IssueWarnings(Policy P, const ObjCMethodDecl *D);
+ Policy getDefaultPolicy() { return DefaultPolicy; }
};
}} // end namespace clang::sema