| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | #include "clang/Driver/Tool.h" |
| 10 | #include "InputInfo.h" |
| 11 | |
| 12 | using namespace clang::driver; |
| 13 | |
| 14 | Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC, |
| 15 | ResponseFileSupport _ResponseSupport, |
| 16 | llvm::sys::WindowsEncodingMethod _ResponseEncoding, |
| 17 | const char *_ResponseFlag) |
| 18 | : Name(_Name), ShortName(_ShortName), TheToolChain(TC), |
| 19 | ResponseSupport(_ResponseSupport), ResponseEncoding(_ResponseEncoding), |
| 20 | ResponseFlag(_ResponseFlag) {} |
| 21 | |
| 22 | Tool::~Tool() { |
| 23 | } |
| 24 | |
| 25 | void Tool::ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA, |
| 26 | const InputInfoList &Outputs, |
| 27 | const InputInfoList &Inputs, |
| 28 | const llvm::opt::ArgList &TCArgs, |
| 29 | const char *LinkingOutput) const { |
| 30 | (0) . __assert_fail ("Outputs.size() == 1 && \"Expected only one output by default!\"", "/home/seafit/code_projects/clang_source/clang/lib/Driver/Tool.cpp", 30, __PRETTY_FUNCTION__))" file_link="../../../include/assert.h.html#88" macro="true">assert(Outputs.size() == 1 && "Expected only one output by default!"); |
| 31 | ConstructJob(C, JA, Outputs.front(), Inputs, TCArgs, LinkingOutput); |
| 32 | } |
| 33 | |