[cfe-commits] r149048 - /cfe/trunk/include/clang/Driver/Options.td
Bob Wilson
bob.wilson at apple.com
Wed Jan 25 22:22:30 PST 2012
Author: bwilson
Date: Thu Jan 26 00:22:30 2012
New Revision: 149048
URL: http://llvm.org/viewvc/llvm-project?rev=149048&view=rev
Log:
Fix a minor bug in r148582, which made -ccc-host-triple into an alias option.
I'm not adding a testcase because -ccc-host-triple is slated to be removed,
but clang crashes if you try to use -ccc-host-triple without this fix.
Modified:
cfe/trunk/include/clang/Driver/Options.td
Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=149048&r1=149047&r2=149048&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Thu Jan 26 00:22:30 2012
@@ -759,7 +759,7 @@
def target : Separate<"-target">,
HelpText<"Generate code for the given target">;
// We should deprecate the use of -ccc-host-triple, and then remove.
-def ccc_host_triple : Flag<"-ccc-host-triple">, Alias<target>;
+def ccc_host_triple : Separate<"-ccc-host-triple">, Alias<target>;
def time : Flag<"-time">,
HelpText<"Time individual commands">;
def traditional_cpp : Flag<"-traditional-cpp">;
More information about the cfe-commits
mailing list