[PATCH] D106394: [clang][pp] adds '#pragma include_instead'

Kim Gräsman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 3 12:53:38 PDT 2021


kimgr added a comment.

@dblaikie I think @sammccall mentioned `IWYU pragma: friend` before, that's what I was alluding to. Much of IWYU's complexity comes from maintaining these library mappings both statically (using mapping tables) and dynamically (using in-source annotations).

I figured the compiler wouldn't want to maintain that level of fidelity for mappings, but judging from the subsequent discussion, maybe it could.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106394



More information about the cfe-commits mailing list