]> granicus.if.org Git - clang/commitdiff
-iframework should allow separate arguments.
authorDouglas Gregor <dgregor@apple.com>
Tue, 25 Sep 2012 16:13:41 +0000 (16:13 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 25 Sep 2012 16:13:41 +0000 (16:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164607 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td
test/Frontend/iframework.c

index 8a7d1135cf9bb33e427157bacdfdadebea40bee7..a220beaca8e8e4039260dc35fca81980b07ba054 100644 (file)
@@ -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>">;
index 0c241fd4891c1ef9b523dbb04440bde84ea11fd2..7180416e998576ee764e5c7f361c80b1ec7724a1 100644 (file)
@@ -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>