[PATCH] D123831: [POC][WIP] Use relative include in extract-api

Zixu Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 25 17:48:37 PDT 2022


zixuw updated this revision to Diff 425083.
zixuw added a comment.

- Rewrite commit message for preparation
- Remove shortening paths based on the current working directory: it does not work with angled includes, and unnecessary for our use
- XFAIL test known_files_only_hmap.c, as it is not a valid setup with a questionable headermap. Need to determine how to fix that test case or just discard it, as the new relative_include.m test also checks that symbols from external files are dropped


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123831/new/

https://reviews.llvm.org/D123831

Files:
  clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
  clang/test/ExtractAPI/known_files_only_hmap.c
  clang/test/ExtractAPI/relative_include.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123831.425083.patch
Type: text/x-patch
Size: 11834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220426/bb25c800/attachment-0001.bin>


More information about the cfe-commits mailing list