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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits