[all-commits] [llvm/llvm-project] 4c262f: [clang][extract-api] Use relative includes
Zixu Wang via All-commits
all-commits at lists.llvm.org
Wed May 4 10:28:29 PDT 2022
Author: Zixu Wang <zixu_wang at apple.com>
Date: 2022-05-04 (Wed, 04 May 2022)
[clang][extract-api] Use relative includes
This patch transforms the given input headers to relative include names
using header search entries and some heuritics.
For example: `/Path/To/Header.h` will be included as `<Header.h>` with a
search path of `-I /Path/To/`; and
`/Path/To/Framework.framework/Headers/Header.h` will be included as
`<Framework/Header.h>`, given a search path of `-F /Path/To`.
Headermaps will also be queried in reverse to find a spelled name to
Differential Revision: https://reviews.llvm.org/D123831
More information about the All-commits