[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

llvm-svn: 167158

clang/include/clang/Driver/Options.td
clang/test/CodeGen/a15.c

index 383c0c1..3c39eb6 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 115b109..e4986d8 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;