[PATCH] D63508: make -frewrite-includes handle __has_include wrapped in a macro

Luboš Luňák via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 19 10:13:14 PDT 2019


llunak added a comment.

Icecream's usage of -frewrite-includes is not special, the purpose is always to merge everything necessary for the compilation into one source file that can be later compiled on its own as if the original file was compiled. The #include expansion done during -frewrite-includes will evaluate all the #if conditions etc. the same way they will be evaluated again during the actual compilation.


Repository:
  rC Clang

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

https://reviews.llvm.org/D63508





More information about the cfe-commits mailing list