Support for -iquote.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 26 Jan 2010 14:55:30 +0000 (14:55 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 26 Jan 2010 14:55:30 +0000 (14:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94545 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/plugins/Base/Base.td.in

index cf0ff68a9be0a2ac5e1290afd8d5dcecfd2d99ba..bb904e1351424b47bd058b38e2c005dd1a58423e 100644 (file)
@@ -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"),