9 #include <hilti/compiler/driver.h>
35 explicit Driver(std::string name) : hilti::
Driver(std::move(name)) {}
44 Driver(std::string name,
const hilti::rt::filesystem::path& argv0) : hilti::
Driver(std::move(name), argv0) {}
49 Driver(
const Driver&) =
delete;
50 Driver(Driver&&) noexcept = delete;
51 Driver& operator=(const Driver&) = delete;
52 Driver& operator=(Driver&&) noexcept = delete;
65 std::unique_ptr<hilti::Builder>
createBuilder(hilti::ASTContext* ctx) const override;
72 spicy::Options _compiler_options;
const auto & options() const
Definition: driver.h:232
bool hookProcessCommandLineOption(int opt, const char *optarg) override
Definition: driver.cc:28
void setSpicyCompilerOptions(const spicy::Options &options)
Definition: driver.cc:16
spicy::Options spicyCompilerOptions() const
Definition: driver.cc:8
Driver(std::string name)
Definition: driver.h:35
std::string hookAugmentUsage() override
Definition: driver.cc:40
Driver(std::string name, const hilti::rt::filesystem::path &argv0)
Definition: driver.h:44
std::unique_ptr< hilti::Builder > createBuilder(hilti::ASTContext *ctx) const override
Definition: driver.cc:22
std::string hookAddCommandLineOptions() override
Definition: driver.cc:26
bool track_offsets
Definition: driver.h:17