diff options
Diffstat (limited to 'clang/Analysis/GRSimpleVals.cpp')
-rw-r--r-- | clang/Analysis/GRSimpleVals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Analysis/GRSimpleVals.cpp b/clang/Analysis/GRSimpleVals.cpp index a03303c079e..ee5a44c48ce 100644 --- a/clang/Analysis/GRSimpleVals.cpp +++ b/clang/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); |