diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-11-24 13:08:51 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-11-24 13:08:51 +0000 |
commit | d706434b0231c76fd9acf30060646a7aa8f69aef (patch) | |
tree | 84ea6bde3550736b956941dfe3ed50fb377cf1ee /lib/Checker/GRCoreEngine.cpp | |
parent | 13cf5e2e223ebfc8ec0459913b2fc9ec1e5fa760 (diff) |
Let StackFrameContext represent if the call expr is evaluated as lvalue.
This is required for supporting const reference to temporary objects.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRCoreEngine.cpp')
-rw-r--r-- | lib/Checker/GRCoreEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/GRCoreEngine.cpp b/lib/Checker/GRCoreEngine.cpp index 270985f416..a676e6ca26 100644 --- a/lib/Checker/GRCoreEngine.cpp +++ b/lib/Checker/GRCoreEngine.cpp @@ -758,7 +758,7 @@ void GRCallEnterNodeBuilder::GenerateNode(const GRState *state) { const StackFrameContext *OldLocCtx = CalleeCtx; const StackFrameContext *NewLocCtx = AMgr.getStackFrame(NewAnaCtx, OldLocCtx->getParent(), - OldLocCtx->getCallSite(), + OldLocCtx->getCallSite(), false, OldLocCtx->getCallSiteBlock(), OldLocCtx->getIndex()); |