aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Driver/Compilation.h
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-04-16 04:16:43 +0000
committerSebastian Pop <spop@codeaurora.org>2012-04-16 04:16:43 +0000
commit4762a2da74875d2ae94e0d77d38ed964816cce36 (patch)
tree433f78df8383a207bda2e5c4813dae5d608ad5e6 /include/clang/Driver/Compilation.h
parente275a1845b9e32bd3034f2593dee1780855c8fd6 (diff)
use DEFAULT_SYSROOT
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Compilation.h')
-rw-r--r--include/clang/Driver/Compilation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h
index fd88c3a636..6f1a2217cd 100644
--- a/include/clang/Driver/Compilation.h
+++ b/include/clang/Driver/Compilation.h
@@ -92,6 +92,9 @@ public:
return FailureResultFiles;
}
+ /// Returns the sysroot path.
+ StringRef getSysRoot() const;
+
/// getArgsForToolChain - Return the derived argument list for the
/// tool chain \arg TC (or the default tool chain, if TC is not
/// specified).