[cfe-commits] r167158 - in /cfe/trunk: include/clang/Driver/Options.td test/CodeGen/a15.c

Chad Rosier mcrosier at apple.com
Wed Oct 31 11:59:38 PDT 2012


Author: mcrosier
Date: Wed Oct 31 13:59:38 2012
New Revision: 167158

URL: http://llvm.org/viewvc/llvm-project?rev=167158&view=rev
Log:
[driver] Remove the -ccc-host-triple alias.  This has been replaced by the
-target option.
rdar://10692880

Modified:
    cfe/trunk/include/clang/Driver/Options.td
    cfe/trunk/test/CodeGen/a15.c

Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=167158&r1=167157&r2=167158&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Wed Oct 31 13:59:38 2012
@@ -982,8 +982,6 @@
   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]>,

Modified: cfe/trunk/test/CodeGen/a15.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/a15.c?rev=167158&r1=167157&r2=167158&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/a15.c (original)
+++ cfe/trunk/test/CodeGen/a15.c Wed Oct 31 13:59:38 2012
@@ -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;





More information about the cfe-commits mailing list