diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-15 00:06:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-15 00:06:45 +0000 |
commit | 8b9adfea5e834eaee0f45d8cc7fb052d68df4a46 (patch) | |
tree | 0ca64758fa0162c3ab4caa04fd2705983d455503 /include/clang/Frontend/CompilerInvocation.h | |
parent | 71d1740c94060b424bb745d6c6973ff27cfdee06 (diff) |
Add -resource-dir to clang -cc1, this allows the base directory for compiler
resources (e.g., /usr/lib/clang/1.1) to be passed on the command line instead of
computed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CompilerInvocation.h')
-rw-r--r-- | include/clang/Frontend/CompilerInvocation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Frontend/CompilerInvocation.h b/include/clang/Frontend/CompilerInvocation.h index 56445e1aa1..f5a9053ceb 100644 --- a/include/clang/Frontend/CompilerInvocation.h +++ b/include/clang/Frontend/CompilerInvocation.h @@ -94,7 +94,7 @@ public: /// compiler path. /// \param MainAddr - The address of main (or some other function in the main /// executable), for finding the builtin compiler path. - static std::string GetBuiltinIncludePath(const char *Argv0, void *MainAddr); + static std::string GetResourcesPath(const char *Argv0, void *MainAddr); /// toArgs - Convert the CompilerInvocation to a list of strings suitable for /// passing to CreateFromArgs. |