summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-01-26 14:55:30 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-01-26 14:55:30 +0000
commit967edd01027c4b5851927590fe9ca8d9bff2f308 (patch)
tree328612f9fb2b488c4f2ceabe6dd37014195e202e /tools
parent21e099a779e12a06bdc51267cb33c59cc85e15ff (diff)
downloadllvm-967edd01027c4b5851927590fe9ca8d9bff2f308.tar.gz
llvm-967edd01027c4b5851927590fe9ca8d9bff2f308.tar.bz2
llvm-967edd01027c4b5851927590fe9ca8d9bff2f308.tar.xz
Support for -iquote.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvmc/plugins/Base/Base.td.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvmc/plugins/Base/Base.td.in b/tools/llvmc/plugins/Base/Base.td.in
index cf0ff68a9b..bb904e1351 100644
--- a/tools/llvmc/plugins/Base/Base.td.in
+++ b/tools/llvmc/plugins/Base/Base.td.in
@@ -61,6 +61,9 @@ def OptList : OptionList<[
(hidden)),
(parameter_list_option "include",
(help "Include the named file prior to preprocessing")),
+ (parameter_list_option "iquote",
+ (help "Search dir only for files requested with #inlcude \"file\""),
+ (hidden)),
(parameter_list_option "framework",
(help "Specifies a framework to link against")),
(parameter_list_option "weak_framework",
@@ -129,6 +132,7 @@ class llvm_gcc_based <string cmd_prefix, string in_lang, string E_ext> : Tool<
(switch_on ["emit-llvm", "c"]), (stop_compilation),
(switch_on "fsyntax-only"), (stop_compilation),
(not_empty "include"), (forward "include"),
+ (not_empty "iquote"), (forward "iquote"),
(not_empty "save-temps"), (append_cmd "-save-temps"),
(not_empty "I"), (forward "I"),
(not_empty "F"), (forward "F"),