[clang] [llvm] [Clang][Darwin] Introduce `SubFrameworks` as a SDK default location (PR #115048)
Juergen Ributzka via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 8 10:12:35 PST 2024
================
@@ -347,6 +347,7 @@ void InitHeaderSearch::AddDefaultIncludePaths(
} else {
AddPath("/System/Library/Frameworks", System, true);
AddPath("/Library/Frameworks", System, true);
+ AddPath("/System/Library/SubFrameworks", System, true);
----------------
ributzka wrote:
The preference should be still SDK content, before we fall-back to `/Library/Frameworks`. There is also the concern that lookups will miss now in `/Library/Frameworks` first, before they hit in `/System/Library/SubFrameworks`.
https://github.com/llvm/llvm-project/pull/115048
More information about the cfe-commits
mailing list