From bd465a9cc7695b68c27cd1174a4fdde1ea8c7d6a Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 31 Oct 2012 18:59:38 +0000 Subject: [PATCH] [driver] Remove the -ccc-host-triple alias. This has been replaced by the -target option. rdar://10692880 llvm-svn: 167158 --- clang/include/clang/Driver/Options.td | 2 -- clang/test/CodeGen/a15.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 383c0c1ae5ae..3c39eb66e726 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -982,8 +982,6 @@ def target : Separate<["-"], "target">, Flags<[DriverOption]>, HelpText<"Generate code for the given target">; def gcc_toolchain : Separate<["-"], "gcc-toolchain">, Flags<[DriverOption]>, HelpText<"Use the gcc toolchain at the given directory">; -// We should deprecate the use of -ccc-host-triple, and then remove. -def ccc_host_triple : Separate<["-"], "ccc-host-triple">, Alias; def time : Flag<["-"], "time">, HelpText<"Time individual commands">; def traditional_cpp : Flag<["-", "--"], "traditional-cpp">, Flags<[CC1Option]>, diff --git a/clang/test/CodeGen/a15.c b/clang/test/CodeGen/a15.c index 115b1091da33..e4986d885391 100644 --- a/clang/test/CodeGen/a15.c +++ b/clang/test/CodeGen/a15.c @@ -1,4 +1,4 @@ -// RUN: %clang -ccc-host-triple armv7-none-linux-gnueabi -mcpu=cortex-a15 -emit-llvm -S %s -o /dev/null +// RUN: %clang -target armv7-none-linux-gnueabi -mcpu=cortex-a15 -emit-llvm -S %s -o /dev/null int main() { return 0; -- 2.34.1