aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-02-23 01:51:53 +0000
committerTed Kremenek <kremenek@apple.com>2011-02-23 01:51:53 +0000
commit283a358aecb75e30fcd486f2206f6c03c5e7f11d (patch)
tree46ead8f48df7882417d0aeecaa8fbcf57577c10c /lib/Sema/Sema.cpp
parent3ed6fc08a9cd293d012fa49ab2a615e618d7c3fa (diff)
Have IdempotentOperationsChecker pull its CFGStmtMap from AnalysisContext.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r--lib/Sema/Sema.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp
index 1920f1e6fc..0827597abd 100644
--- a/lib/Sema/Sema.cpp
+++ b/lib/Sema/Sema.cpp
@@ -638,7 +638,7 @@ void Sema::PopFunctionOrBlockScope(const AnalysisBasedWarnings::Policy *WP,
// Issue any analysis-based warnings.
if (WP && D)
- AnalysisWarnings.IssueWarnings(*WP, D, blkExpr);
+ AnalysisWarnings.IssueWarnings(*WP, Scope, D, blkExpr);
if (FunctionScopes.back() != Scope)
delete Scope;