[PATCH] D158715: [Driver] Cleanup last vestiges of Minix / Contiki support
Brad Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 24 01:04:46 PDT 2023
brad created this revision.
brad added a reviewer: MaskRay.
brad added a project: clang.
Herald added a project: All.
brad requested review of this revision.
Cleanup what is left after https://reviews.llvm.org/D158461
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158715
Files:
clang/docs/tools/clang-formatted-files.txt
clang/lib/Driver/Driver.cpp
clang/lib/Lex/InitHeaderSearch.cpp
clang/test/Preprocessor/predefined-macros-no-warnings.c
Index: clang/test/Preprocessor/predefined-macros-no-warnings.c
===================================================================
--- clang/test/Preprocessor/predefined-macros-no-warnings.c
+++ clang/test/Preprocessor/predefined-macros-no-warnings.c
@@ -145,7 +145,6 @@
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple i686-freebsd
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple i686-fuchsia
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple i686-kfreebsd
-// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple i686-minix
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple i686-solaris
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple i686-win32-cygnus
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple i686-win32-gnu
Index: clang/lib/Lex/InitHeaderSearch.cpp
===================================================================
--- clang/lib/Lex/InitHeaderSearch.cpp
+++ clang/lib/Lex/InitHeaderSearch.cpp
@@ -332,10 +332,6 @@
case llvm::Triple::DragonFly:
AddPath("/usr/include/c++/5.0", CXXSystem, false);
break;
- case llvm::Triple::Minix:
- AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
- "", "", "", triple);
- break;
default:
break;
}
Index: clang/lib/Driver/Driver.cpp
===================================================================
--- clang/lib/Driver/Driver.cpp
+++ clang/lib/Driver/Driver.cpp
@@ -554,8 +554,7 @@
}
// Skip further flag support on OSes which don't support '-m32' or '-m64'.
- if (Target.getArch() == llvm::Triple::tce ||
- Target.getOS() == llvm::Triple::Minix)
+ if (Target.getArch() == llvm::Triple::tce)
return Target;
// On AIX, the env OBJECT_MODE may affect the resulting arch variant.
Index: clang/docs/tools/clang-formatted-files.txt
===================================================================
--- clang/docs/tools/clang-formatted-files.txt
+++ clang/docs/tools/clang-formatted-files.txt
@@ -402,7 +402,6 @@
clang/lib/Driver/ToolChains/AVR.h
clang/lib/Driver/ToolChains/CloudABI.cpp
clang/lib/Driver/ToolChains/CommonArgs.h
-clang/lib/Driver/ToolChains/Contiki.cpp
clang/lib/Driver/ToolChains/CrossWindows.h
clang/lib/Driver/ToolChains/DragonFly.h
clang/lib/Driver/ToolChains/FreeBSD.cpp
@@ -416,7 +415,6 @@
clang/lib/Driver/ToolChains/Hurd.h
clang/lib/Driver/ToolChains/InterfaceStubs.cpp
clang/lib/Driver/ToolChains/InterfaceStubs.h
-clang/lib/Driver/ToolChains/Minix.h
clang/lib/Driver/ToolChains/MipsLinux.cpp
clang/lib/Driver/ToolChains/MSP430.h
clang/lib/Driver/ToolChains/PPCFreeBSD.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158715.553026.patch
Type: text/x-patch
Size: 2643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230824/75011d03/attachment-0001.bin>
More information about the cfe-commits
mailing list