================
@@ -2609,9 +2613,15 @@ void Darwin::AddDeploymentTarget(DerivedArgList &Args)
const {
// For certain platforms/environments almost all resources (e.g., headers) are
// located in sub-directories, e.g., for DriverKit they live in
// <SYSROOT>/System/DriverKit/usr/include (instead of <SYSROOT>/usr/include).
-static void AppendPlatformPrefix(SmallString<128> &Path,
- const llvm::Triple &T) {
- if (T.isDriverKit()) {
+void DarwinClang::AppendPlatformPrefix(SmallString<128> &Path,
----------------
cyndyishida wrote:
nit: it seems unnecessary to have both "PlatformPrefix" and "SystemPrefix" as
terminology when, AFAICT are the same thing.
https://github.com/llvm/llvm-project/pull/171970
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits