[PATCH] D43992: [Frontend] Avoid including default system header paths on Fuchsia

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 1 23:22:10 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL326542: [Frontend] Avoid including default system header paths on Fuchsia (authored by phosek, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D43992?vs=136662&id=136682#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43992

Files:
  cfe/trunk/lib/Frontend/InitHeaderSearch.cpp


Index: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
===================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
@@ -216,6 +216,7 @@
     case llvm::Triple::NaCl:
     case llvm::Triple::PS4:
     case llvm::Triple::ELFIAMCU:
+    case llvm::Triple::Fuchsia:
       break;
     case llvm::Triple::Win32:
       if (triple.getEnvironment() != llvm::Triple::Cygnus)
@@ -322,6 +323,7 @@
   case llvm::Triple::RTEMS:
   case llvm::Triple::NaCl:
   case llvm::Triple::ELFIAMCU:
+  case llvm::Triple::Fuchsia:
     break;
   case llvm::Triple::PS4: {
     // <isysroot> gets prepended later in AddPath().


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43992.136682.patch
Type: text/x-patch
Size: 701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180302/71031370/attachment-0001.bin>


More information about the cfe-commits mailing list