[PATCH] D88680: Add ability to turn off -fpch-instantiate-templates in clang-cl

Zachary Henkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 07:31:30 PDT 2020


zahen added a comment.

This patch doesn't need a test case outside of the one that @rnk requested to make sure that the flag flows from the clang-cl driver appropriately.  `pch-instantiate-templates` as authored doesn't match cl.exe behavior and being unable to turn it off will prevent our adoption of clang 11.  This is a release blocking issue at least for 11.1 if not 11.0 (I leave it to @hans to make the decision).  I suspect there are other users that will run into the same problem we have.

Of course we'll continue to work on a reduced repro to understand where the feature and msvc diverge but that will be a follow up patch or new bug.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88680



More information about the cfe-commits mailing list