[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #120149)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 19 09:25:14 PST 2024


================
@@ -0,0 +1,26 @@
+// UNSUPPORTED: system-windows
+//   Windows is unsupported because we use the Unix path separator `/` in the test.
+
+// Add default directories before running clang to check default
+// search paths.
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: cp -R %S/Inputs/MacOSX15.1.sdk %t/
+// RUN: mkdir -p %t/MacOSX15.1.sdk/System/Library/Frameworks
+// RUN: mkdir -p %t/MacOSX15.1.sdk/System/Library/SubFrameworks
+// RUN: mkdir -p %t/MacOSX15.1.sdk/usr/include
+
+// RUN: %clang -xc %s -target arm64-apple-darwin13.0 -isysroot %t/MacOSX15.1.sdk -E -v 2>&1 | FileCheck --check-prefix=CHECK-C %s
----------------
ldionne wrote:

What would you want to check for DriverKit? I naively went ahead and started adding a test, and then I went back and realized I wasn't sure what you wanted me to test.

https://github.com/llvm/llvm-project/pull/120149


More information about the cfe-commits mailing list