[PATCH] D45500: [MinGW] Look for libc++ headers in a triplet prefixed path as well

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 10 14:51:00 PDT 2018


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: lib/Driver/ToolChains/MinGW.cpp:459
     addSystemInclude(DriverArgs, CC1Args,
+                     Base + Arch + llvm::sys::path::get_separator() +
+                         "include" + llvm::sys::path::get_separator() +
----------------
Holy cow, this is long. =/ Maybe make a local variable `Slash` and use it?


Repository:
  rC Clang

https://reviews.llvm.org/D45500





More information about the cfe-commits mailing list