[PATCH] D30824: -frewrite-includes: Fix support for __has_include_next
David Vest via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 20 09:50:00 PDT 2017
davve abandoned this revision.
davve added a comment.
Eugene Velesevich noted in the bug that the patch is broken for multiple levels of headers:
> Patch seems work only for first header with same name. I.e. code below finds first header even clang parses second or third ones. Thus __has_include_next is always true if there are two or more headers with same name.
Code below being the extra added LookupFile call.
https://reviews.llvm.org/D30824
More information about the cfe-commits
mailing list