[cfe-commits] r68138 - /cfe/trunk/tools/clang-cc/clang-cc.cpp

Daniel Dunbar daniel at zuster.org
Tue Mar 31 13:10:05 PDT 2009


Author: ddunbar
Date: Tue Mar 31 15:10:05 2009
New Revision: 68138

URL: http://llvm.org/viewvc/llvm-project?rev=68138&view=rev
Log:
Add two FIXMEs

Modified:
    cfe/trunk/tools/clang-cc/clang-cc.cpp

Modified: cfe/trunk/tools/clang-cc/clang-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/clang-cc.cpp?rev=68138&r1=68137&r2=68138&view=diff

==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Tue Mar 31 15:10:05 2009
@@ -723,6 +723,8 @@
 
 // If -mmacosx-version-min=10.3.9 is specified, change the triple from being
 // something like powerpc-apple-darwin9 to powerpc-apple-darwin7
+
+// FIXME: We should have the driver do this instead.
 static void HandleMacOSVersionMin(std::string &Triple) {
   std::string::size_type DarwinDashIdx = Triple.find("-darwin");
   if (DarwinDashIdx == std::string::npos) {
@@ -781,6 +783,8 @@
   
   // If -arch foo was specified, remove the architecture from the triple we have
   // so far and replace it with the specified one.
+
+  // FIXME: -arch should be removed, the driver should handle this.
   if (!Arch.empty()) {
     // Decompose the base triple into "arch" and suffix.
     std::string::size_type FirstDashIdx = Triple.find('-');





More information about the cfe-commits mailing list