[PATCH] D141073: [Driver] move Fuchsia header search path management to the driver
Brad Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 5 10:11:29 PST 2023
brad created this revision.
brad added reviewers: MaskRay, abrachet, phosek.
brad added a project: clang.
Herald added a subscriber: StephenFan.
Herald added a project: All.
brad requested review of this revision.
Fuchsia already implements AddClangSystemIncludeArgs(). So it looks like we just have to switch over to using it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141073
Files:
clang/lib/Lex/InitHeaderSearch.cpp
Index: clang/lib/Lex/InitHeaderSearch.cpp
===================================================================
--- clang/lib/Lex/InitHeaderSearch.cpp
+++ clang/lib/Lex/InitHeaderSearch.cpp
@@ -235,7 +235,6 @@
case llvm::Triple::PS4:
case llvm::Triple::PS5:
case llvm::Triple::ELFIAMCU:
- case llvm::Triple::Fuchsia:
break;
case llvm::Triple::Win32:
if (triple.getEnvironment() != llvm::Triple::Cygnus)
@@ -338,7 +337,6 @@
case llvm::Triple::RTEMS:
case llvm::Triple::NaCl:
case llvm::Triple::ELFIAMCU:
- case llvm::Triple::Fuchsia:
break;
case llvm::Triple::PS4:
case llvm::Triple::PS5: {
@@ -413,6 +411,7 @@
case llvm::Triple::FreeBSD:
case llvm::Triple::NetBSD:
case llvm::Triple::OpenBSD:
+ case llvm::Triple::Fuchsia:
case llvm::Triple::Hurd:
case llvm::Triple::Linux:
case llvm::Triple::Solaris:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141073.486616.patch
Type: text/x-patch
Size: 877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230105/23b587fb/attachment.bin>
More information about the cfe-commits
mailing list