[Driver] Move PS4/PS5 header search path management to the driver
authorPaul Robinson <paul.robinson@sony.com>
Tue, 31 Jan 2023 23:22:25 +0000 (15:22 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Wed, 1 Feb 2023 15:40:30 +0000 (07:40 -0800)
commitecb3cd0946a47c419efda7b92cd6f6fcc30b6be9
tree14a5bf40e4e5cb7a394b714c785b7c230de3b887
parent97d51e3fa8e8a6ecd134dab79272f7cf94122e51
[Driver] Move PS4/PS5 header search path management to the driver

This follows how OpenBSD, FreeBSD, and NetBSD now work. (See
D138183 and D140817 for those cases.)

It also tidies up some code duplication that wasn't exactly right.
clang/lib/Driver/ToolChains/PS4CPU.cpp
clang/lib/Driver/ToolChains/PS4CPU.h
clang/lib/Lex/InitHeaderSearch.cpp
clang/test/Driver/ps4-ps5-header-search.c