aboutsummaryrefslogtreecommitdiff
path: root/Analysis/GRSimpleVals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Analysis/GRSimpleVals.cpp')
-rw-r--r--Analysis/GRSimpleVals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Analysis/GRSimpleVals.cpp b/Analysis/GRSimpleVals.cpp
index a03303c079..ee5a44c48c 100644
--- a/Analysis/GRSimpleVals.cpp
+++ b/Analysis/GRSimpleVals.cpp
@@ -89,13 +89,13 @@ void EmitWarning(Diagnostic& Diag, SourceManager& SrcMgr,
}
}
-unsigned RunGRSimpleVals(CFG& cfg, FunctionDecl& FD, ASTContext& Ctx,
+unsigned RunGRSimpleVals(CFG& cfg, Decl& CD, ASTContext& Ctx,
Diagnostic& Diag, bool Visualize, bool TrimGraph) {
if (Diag.hasErrorOccurred())
return 0;
- GRCoreEngine<GRExprEngine> Eng(cfg, FD, Ctx);
+ GRCoreEngine<GRExprEngine> Eng(cfg, CD, Ctx);
GRExprEngine* CheckerState = &Eng.getCheckerState();
GRSimpleVals GRSV;
CheckerState->setTransferFunctions(GRSV);