From: Bob Wilson Date: Thu, 26 Jan 2012 06:22:30 +0000 (+0000) Subject: Fix a minor bug in r148582, which made -ccc-host-triple into an alias option. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8de042335b7f4c037478ee0149ecf1f5c6d4a52;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149048 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 18e77770f8..ad36b0280f 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -759,7 +759,7 @@ def s : Flag<"-s">; 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; +def ccc_host_triple : Separate<"-ccc-host-triple">, Alias; def time : Flag<"-time">, HelpText<"Time individual commands">; def traditional_cpp : Flag<"-traditional-cpp">;