瀏覽代碼

-iframework should allow separate arguments.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164607 91177308-0d34-0410-b5e6-96231b3b80d8
Douglas Gregor 13 年之前
父節點
當前提交
1370d37f60
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      include/clang/Driver/Options.td
  2. 1 1
      test/Frontend/iframework.c

+ 1 - 1
include/clang/Driver/Options.td

@@ -725,7 +725,7 @@ def index_header_map : Flag<"-index-header-map">, Flags<[CC1Option]>,
   HelpText<"Make the next included directory (-I or -F) an indexer header map">;
 def idirafter : JoinedOrSeparate<"-idirafter">, Group<clang_i_Group>, Flags<[CC1Option]>,
   HelpText<"Add directory to AFTER include search path">;
-def iframework : Joined<"-iframework">, Group<clang_i_Group>, Flags<[CC1Option]>,
+def iframework : JoinedOrSeparate<"-iframework">, Group<clang_i_Group>, Flags<[CC1Option]>,
   HelpText<"Add directory to SYSTEM framework search path">;
 def imacros : JoinedOrSeparate<"-imacros">, Group<clang_i_Group>, Flags<[CC1Option]>,
   HelpText<"Include macros from file before parsing">, MetaVarName<"<file>">;

+ 1 - 1
test/Frontend/iframework.c

@@ -1,3 +1,3 @@
-// RUN: %clang -fsyntax-only -iframework%S/Inputs %s -Xclang -verify
+// RUN: %clang -fsyntax-only -iframework %S/Inputs %s -Xclang -verify
 
 #include <TestFramework/TestFramework.h>