diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-01-12 19:25:46 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-01-12 19:25:46 +0000 |
commit | 0849ade4bb3e90c2fc0ce01ccd330f76f91da732 (patch) | |
tree | 91f02c0c67e692962dcb1b9c2f1897f9ecb3d7c6 /include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h | |
parent | ec789163a42a7be654ac34aadb750b508954d53c (diff) |
[analyzer] fix inlining's handling of mapping actual to formal arguments and limit the call stack depth. The analyzer can now accurately simulate factorial for limited depths.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h')
-rw-r--r-- | include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h b/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h index af7845af6c..2987116e4f 100644 --- a/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h +++ b/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h @@ -227,7 +227,8 @@ public: /// enterStackFrame - Returns the state for entry to the given stack frame, /// preserving the current state. - const ProgramState *enterStackFrame(const StackFrameContext *frame) const; + const ProgramState *enterStackFrame(const LocationContext *callerCtx, + const StackFrameContext *calleeCtx) const; /// Get the lvalue for a variable reference. Loc getLValue(const VarDecl *D, const LocationContext *LC) const; |