[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #120149)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 19 17:46:53 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-macosx15.1 -isysroot %t/MacOSX15.1.sdk -E -v 2>&1 | FileCheck --check-prefix=CHECK-C %s
----------------
ian-twilightcoder wrote:
@jroelofs had a lot of comments on basically the same test: https://github.com/llvm/llvm-project/pull/120507/files#diff-59f998dac7c93956bd206a4998cdc2180c26e9b8116af4e45343dccaf15693f4
https://github.com/llvm/llvm-project/pull/120149
More information about the cfe-commits
mailing list