From: Douglas Gregor Date: Tue, 25 Sep 2012 16:13:41 +0000 (+0000) Subject: -iframework should allow separate arguments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1370d37f60a173b2acf0afce92db063f06b30b2d;p=clang -iframework should allow separate arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164607 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 8a7d1135cf..a220beaca8 100644 --- a/include/clang/Driver/Options.td +++ b/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, Flags<[CC1Option]>, HelpText<"Add directory to AFTER include search path">; -def iframework : Joined<"-iframework">, Group, Flags<[CC1Option]>, +def iframework : JoinedOrSeparate<"-iframework">, Group, Flags<[CC1Option]>, HelpText<"Add directory to SYSTEM framework search path">; def imacros : JoinedOrSeparate<"-imacros">, Group, Flags<[CC1Option]>, HelpText<"Include macros from file before parsing">, MetaVarName<"">; diff --git a/test/Frontend/iframework.c b/test/Frontend/iframework.c index 0c241fd489..7180416e99 100644 --- a/test/Frontend/iframework.c +++ b/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