[PATCH] D15911: Switch Action and ActionList over to using std::shared_ptr.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 5 18:26:33 PST 2016


jlebar created this revision.
jlebar added a reviewer: echristo.
jlebar added a subscriber: cfe-commits.
jlebar added a dependency: D15910: Make isa, cast, dyn_cast, etc. work with std::unique_ptr and std::shared_ptr..
Herald added a subscriber: klimek.

This makes constructing Action graphs which are DAGs much simpler.  It
also just simplifies in general the ownership semantics of Actions.

Depends on D15910.

http://reviews.llvm.org/D15911

Files:
  include/clang/Driver/Action.h
  include/clang/Driver/Driver.h
  include/clang/Driver/Util.h
  lib/Driver/Action.cpp
  lib/Driver/Compilation.cpp
  lib/Driver/Driver.cpp
  lib/Driver/Tools.cpp
  lib/Tooling/CompilationDatabase.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15911.44077.patch
Type: text/x-patch
Size: 29676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160106/8527cba3/attachment-0001.bin>


More information about the cfe-commits mailing list