]> granicus.if.org Git - clang/commitdiff
Driver/ToolChains: Mips -> MipsLinux
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Wed, 8 Mar 2017 22:36:04 +0000 (22:36 +0000)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Wed, 8 Mar 2017 22:36:04 +0000 (22:36 +0000)
  - Mips is architecture, not a toolchain
  - Might help eliminate the confusion in the future by not having header files with the same name

Differential Revision: https://reviews.llvm.org/D30753

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297312 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/CMakeLists.txt
lib/Driver/Driver.cpp
lib/Driver/ToolChains/MipsLinux.cpp [moved from lib/Driver/ToolChains/Mips.cpp with 99% similarity]
lib/Driver/ToolChains/MipsLinux.h [moved from lib/Driver/ToolChains/Mips.h with 91% similarity]

index 24230195ec758c2a9f794cc257ad9e07d867595d..0d7a99766b86955aabacc04fbb5fa445edebe516 100644 (file)
@@ -44,7 +44,7 @@ add_clang_library(clangDriver
   ToolChains/Haiku.cpp
   ToolChains/Hexagon.cpp
   ToolChains/Linux.cpp
-  ToolChains/Mips.cpp
+  ToolChains/MipsLinux.cpp
   ToolChains/MinGW.cpp
   ToolChains/Minix.cpp
   ToolChains/MSVC.cpp
index f509205bd60bc866eb3c6c101380cfa1e97c060d..1633082fb07b640207f8411edbf6e8168f9965a2 100644 (file)
@@ -28,7 +28,7 @@
 #include "ToolChains/Linux.h"
 #include "ToolChains/MinGW.h"
 #include "ToolChains/Minix.h"
-#include "ToolChains/Mips.h"
+#include "ToolChains/MipsLinux.h"
 #include "ToolChains/MSVC.h"
 #include "ToolChains/Myriad.h"
 #include "ToolChains/NaCl.h"
similarity index 99%
rename from lib/Driver/ToolChains/Mips.cpp
rename to lib/Driver/ToolChains/MipsLinux.cpp
index 88dfa9dd6ea0c5035c611fde048c3ac3a821fbef..709c396a64b79096d1c97764f5b434bcf59f41e4 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Mips.h"
+#include "MipsLinux.h"
 #include "Arch/Mips.h"
 #include "CommonArgs.h"
 #include "clang/Config/config.h"
similarity index 91%
rename from lib/Driver/ToolChains/Mips.h
rename to lib/Driver/ToolChains/MipsLinux.h
index 7f9db656abc7bff9aad773ae301a716e573479cd..fa82efbbfc8f9f4803981f7778d1eb1da1cc47c0 100644 (file)
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_MIPS_H
-#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_MIPS_H
+#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_MIPS_LINUX_H
+#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_MIPS_LINUX_H
 
 #include "Linux.h"
 #include "clang/Driver/ToolChain.h"
@@ -59,4 +59,4 @@ private:
 } // end namespace driver
 } // end namespace clang
 
-#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_MIPS_H
+#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_MIPS_LINUX_H