[PATCH] D75323: Support relative dest paths in headermap files

2020-03-01 Thread Simon Que via Phabricator via cfe-commits
sque updated this revision to Diff 247558. sque added a comment. Format json according to RFC 8259 (https://jsonformatter.curiousconcept.com/) CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75323/new/ https://reviews.llvm.org/D75323 Files: clang/lib/Lex/HeaderSearch.cpp

[PATCH] D75323: Support relative dest paths in headermap files

2020-03-01 Thread Simon Que via Phabricator via cfe-commits
sque updated this revision to Diff 247554. sque added a comment. Delete unnecessary comment CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75323/new/ https://reviews.llvm.org/D75323 Files: clang/lib/Lex/HeaderSearch.cpp clang/test/Headers/Inputs/headermap_relpath/empty.hmap.json

[PATCH] D75323: Support relative dest paths in headermap files

2020-03-01 Thread Simon Que via Phabricator via cfe-commits
sque updated this revision to Diff 247540. sque marked an inline comment as done. sque added a comment. Changed to generate hmap file using hmaptool. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75323/new/ https://reviews.llvm.org/D75323 Files: clang/lib/Lex/HeaderSearch.cpp

[PATCH] D75323: Support relative dest paths in headermap files

2020-03-01 Thread Simon Que via Phabricator via cfe-commits
sque marked an inline comment as done. sque added inline comments. Comment at: clang/test/Headers/headermap_relpath.cpp:8 + +// RUN: cd %S; %clang_cc1 -I %S/Inputs/empty.hmap %s + takuto.ikuta wrote: > generate header map using hmaptool like >

[PATCH] D75323: Support relative dest paths in headermap files

2020-02-28 Thread Simon Que via Phabricator via cfe-commits
sque updated this revision to Diff 247177. sque edited the summary of this revision. sque added a comment. Added test CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75323/new/ https://reviews.llvm.org/D75323 Files: clang/lib/Lex/HeaderSearch.cpp clang/test/Headers/Inputs/empty.hmap

[PATCH] D75323: Support relative dest paths in headermap files

2020-02-27 Thread Simon Que via Phabricator via cfe-commits
sque created this revision. sque added reviewers: vsapsai, arphaman, akyrtzi. Herald added subscribers: cfe-commits, dexonsmith. Herald added a project: clang. Existing behavior: - If hmap dest path is absolute: = Look for the file and return it as result. = If file not found, return None. - If