[PATCH] Simplify ownership of ExplodedGraph in the CoreEngine by removing unique_ptr indirection.

David Blaikie dblaikie at gmail.com
Fri Aug 8 16:37:46 PDT 2014


Hi jordan_rose,

I was going to fix the use of raw pointer ownership in "takeGraph" when I realized that function was unused and the whole ExplodedGraph could just be owned by value without the std::unique_ptr indirection at all.

http://reviews.llvm.org/D4833

Files:
  include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
  lib/StaticAnalyzer/Core/CoreEngine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4833.12317.patch
Type: text/x-patch
Size: 6197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/512a10d7/attachment.bin>


More information about the llvm-commits mailing list