diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-15 17:07:12 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-15 17:07:12 +0000 |
commit | 4e58654b47e89efbb1a8ca032c08fd354c3b0b61 (patch) | |
tree | 5e946d69177464379cb1a38ac18206180d763639 /include/clang/Driver/Driver.h | |
parent | 4ba675006b5a8edfc48b6a9bd3dcf54a70cc08f2 (diff) |
Notes
Diffstat (limited to 'include/clang/Driver/Driver.h')
-rw-r--r-- | include/clang/Driver/Driver.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/Driver/Driver.h b/include/clang/Driver/Driver.h index 153981f842d3..bb578b516ce3 100644 --- a/include/clang/Driver/Driver.h +++ b/include/clang/Driver/Driver.h @@ -62,6 +62,9 @@ public: /// command line. std::string Dir; + /// The original path to the clang executable. + std::string ClangExecutable; + /// The path to the compiler resource directory. std::string ResourceDir; @@ -163,6 +166,11 @@ public: const std::string &getTitle() { return DriverTitle; } void setTitle(std::string Value) { DriverTitle = Value; } + /// \brief Get the path to the main clang executable. + std::string getClangProgramPath() const { + return ClangExecutable; + } + /// @} /// @name Primary Functionality /// @{ |