[clang][Darwin] Refactor header search path logic into the driverSummary:This commit moves the logic for determining system, resource and C++header search paths from CC1 to the driver. This refac
[clang][Darwin] Refactor header search path logic into the driverSummary:This commit moves the logic for determining system, resource and C++header search paths from CC1 to the driver. This refactor has alreadybeen made for several platforms, but Darwin had been left behind.This refactor tries to implement the previous search path logic withperfect accuracy. In particular, the order of all include paths insideCC1 and all paths that were skipped because nonexistent are conservedafter the refactor. This change was also tested against a code baseof significant size and revealed no problems.Reviewers: jfb, arphamanSubscribers: nemanjai, javed.absar, kbarton, christof, jkorous, dexonsmith, jsji, cfe-commitsTags: #clangDifferential Revision: https://reviews.llvm.org/D61963llvm-svn: 361278
show more ...