summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
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
commitc9c6456a858b7592191ab8339fe1204de37ed83b (patch)
tree7435c4e012b00d29575fcf3c0e2ff440050b4b8c /llvm/tools/llvmc
parentd115cb60fec1642e8f883822eb8ce04866aabb6c (diff)
downloadbcm5719-llvm-c9c6456a858b7592191ab8339fe1204de37ed83b.tar.gz
bcm5719-llvm-c9c6456a858b7592191ab8339fe1204de37ed83b.zip
Support for -iquote.
llvm-svn: 94545
Diffstat (limited to 'llvm/tools/llvmc')
-rw-r--r--llvm/tools/llvmc/plugins/Base/Base.td.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/plugins/Base/Base.td.in b/llvm/tools/llvmc/plugins/Base/Base.td.in
index cf0ff68a9be..bb904e13514 100644
--- a/llvm/tools/llvmc/plugins/Base/Base.td.in
+++ b/llvm/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"),
OpenPOWER on IntegriCloud