[PATCH] D89886: [clang-tidy] Fix redefinition of module in the same module.modulemap file

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 22 15:06:21 PDT 2020


alexfh accepted this revision.
alexfh added a comment.

In D89886#2347376 <https://reviews.llvm.org/D89886#2347376>, @DmitryPolukhin wrote:

> In D89886#2346851 <https://reviews.llvm.org/D89886#2346851>, @alexfh wrote:
>
>> Ah, btw, any chance of adding a test for this?
>
> Oh, I was not able to create small reproducer that without including large Apple Frameworks with modules :( My hypothesis that it is side effect of module cache that triggers module load before it is referenced from sources. I tested it on reproducer from PR47839 + my real internal example.

I see. Let's keep it as is then.

Looks good!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89886



More information about the cfe-commits mailing list