From 66fb02897b5c2e66b80e8acd9c8a5811dd02d6ee 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167158 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Driver/Options.td | 2 -- test/CodeGen/a15.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 383c0c1ae5..3c39eb66e7 100644 --- a/include/clang/Driver/Options.td +++ b/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/test/CodeGen/a15.c b/test/CodeGen/a15.c index 115b1091da..e4986d8853 100644 --- a/test/CodeGen/a15.c +++ b/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.50.1