Move ownership of Action objects into Compilation.
Summary: This makes constructing Action graphs which are DAGs much simpler. It also just simplifies in general the ownership semantics of Actions. Depends on D15910. Reviewers: echristo Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D15911 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257407 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Driver/Action.h 24 additions, 32 deletionsinclude/clang/Driver/Action.h
- include/clang/Driver/Compilation.h 15 additions, 1 deletioninclude/clang/Driver/Compilation.h
- include/clang/Driver/Driver.h 3 additions, 3 deletionsinclude/clang/Driver/Driver.h
- lib/Driver/Action.cpp 32 additions, 53 deletionslib/Driver/Action.cpp
- lib/Driver/Compilation.cpp 2 additions, 6 deletionslib/Driver/Compilation.cpp
- lib/Driver/Driver.cpp 47 additions, 62 deletionslib/Driver/Driver.cpp
Loading
Please register or sign in to comment