diff options
| author | Hans Wennborg <hans@hanshq.net> | 2013-09-12 18:35:08 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2013-09-12 18:35:08 +0000 |
| commit | aaaa2a1889fe882e7e41048e3b298ca594454eb1 (patch) | |
| tree | 67187f185f336ad72757f7bd6dc3cc1cfe5a0038 /lib/CodeGen/CGExprConstant.cpp | |
| parent | fc3389701ead32709ba84825e4c06651065da2c0 (diff) | |
| download | clang-aaaa2a1889fe882e7e41048e3b298ca594454eb1.tar.gz clang-aaaa2a1889fe882e7e41048e3b298ca594454eb1.tar.bz2 clang-aaaa2a1889fe882e7e41048e3b298ca594454eb1.tar.xz | |
Move the execution code from Compilation::ExecuteCommand to Command::Execute
I think it makes sense that a Command knows how to execute itself.
There's no functionality change but i rewrote the code to avoid the manual
memory management of Argv.
My motivation for this is that I plan to subclass Command to build fall-back
functionality into clang-cl.
Differential Revision: http://llvm-reviews.chandlerc.com/D1654
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
