================
@@ -339,13 +340,11 @@ void InitHeaderSearch::AddDefaultIncludePaths(
if (triple.isOSDarwin()) {
----------------
cyndyishida wrote:
I looked into this a bit more. IMO the only way to move all this code to the
driver is to either
1. changing search path order between Framework search paths & other default
search paths like `-internal-isystem $(SDKROOT)/usr/include` (since existing
`iframework` puts the search path at the top instead of at the bottom like what
`InitHeaderSearch` does)
OR
2. introducing some kind of search path argument to preserve back precedence
for S/L/F e.g. a `-internal-iframework`
Both feel out of scope to me.
https://github.com/llvm/llvm-project/pull/118543
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits