aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-31 18:59:38 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-31 18:59:38 +0000
commit66fb02897b5c2e66b80e8acd9c8a5811dd02d6ee (patch)
treeecaf5ceef2665cb7e6735901630d66414d73ca86
parentcfed8283c3aeb03ddd837411467d19e250068d39 (diff)
[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
-rw-r--r--include/clang/Driver/Options.td2
-rw-r--r--test/CodeGen/a15.c2
2 files changed, 1 insertions, 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<target>;
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;