]> granicus.if.org Git - clang/commitdiff
[driver] Remove the -ccc-host-triple alias. This has been replaced by the
authorChad Rosier <mcrosier@apple.com>
Wed, 31 Oct 2012 18:59:38 +0000 (18:59 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 31 Oct 2012 18:59:38 +0000 (18:59 +0000)
-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
test/CodeGen/a15.c

index 383c0c1ae5ae4f23b23db93876126f78c90a7695..3c39eb66e7260e22e731b85b081107d75b193e14 100644 (file)
@@ -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]>,
index 115b1091da33106ea9388a0725a5ff0bf3555152..e4986d8853915cc4565068090f7bb9ff5697c5eb 100644 (file)
@@ -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;