Skip to content
Snippets Groups Projects
Commit 044fe23e authored by Anton Yartsev's avatar Anton Yartsev
Browse files

[analyzer] Call proper callback for const regions escaped other then on call.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179846 91177308-0d34-0410-b5e6-96231b3b80d8
parent c3e81e78
No related branches found
No related tags found
No related merge requests found
...@@ -1811,7 +1811,8 @@ ExprEngine::notifyCheckersOfPointerEscape(ProgramStateRef State, ...@@ -1811,7 +1811,8 @@ ExprEngine::notifyCheckersOfPointerEscape(ProgramStateRef State,
return getCheckerManager().runCheckersForPointerEscape(State, return getCheckerManager().runCheckersForPointerEscape(State,
*Invalidated, *Invalidated,
0, 0,
PSK_EscapeOther); PSK_EscapeOther,
IsConst);
// Note: Due to current limitations of RegionStore, we only process the top // Note: Due to current limitations of RegionStore, we only process the top
// level const pointers correctly. The lower level const pointers are // level const pointers correctly. The lower level const pointers are
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment