aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-21 18:54:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-21 18:54:17 +0000
commitee788e70fcd0adf76103b17c78ac658d4ea30c9b (patch)
treeb816a403de25efa432bc8432aba046d8804c213e /include
parent51874dd2eda9e160b3413873459e31d32ffb7820 (diff)
Add ToolChain::getDriver() and use it instead of going through the HostInfo
object. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Driver/ToolChain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Driver/ToolChain.h b/include/clang/Driver/ToolChain.h
index a570ec26ed..238b726a8f 100644
--- a/include/clang/Driver/ToolChain.h
+++ b/include/clang/Driver/ToolChain.h
@@ -19,6 +19,7 @@ namespace clang {
namespace driver {
class Compilation;
class DerivedArgList;
+ class Driver;
class HostInfo;
class InputArgList;
class JobAction;
@@ -49,6 +50,7 @@ public:
// Accessors
+ const Driver &getDriver() const;
const HostInfo &getHost() const { return Host; }
const llvm::Triple &getTriple() const { return Triple; }