Fix the -I option (llvmc -I dir1 -I dir2 didn't work).
authorMikhail Glushenkov <foldr@codedgers.com>
Wed, 26 Nov 2008 10:57:31 +0000 (10:57 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Wed, 26 Nov 2008 10:57:31 +0000 (10:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60101 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CompilerDriver/Tools.td

index f0c2226519e1dca4935d9341012fee3cf068fb37..e701b476494d4ded6740ed9845edd50d40ea4bb0 100644 (file)
@@ -33,6 +33,8 @@ class llvm_gcc_based <string cmd_prefix, string in_lang> : Tool<
    (help "Stop after checking the input for syntax errors")),
  (parameter_list_option "include", (forward),
    (help "Include the named file prior to preprocessing")),
+ (prefix_list_option "I", (forward),
+   (help "Add a directory to include path")),
  (sink)
 ]>;