iains marked 2 inline comments as done.
iains added inline comments.
================
Comment at: clang/lib/Sema/Sema.cpp:1262
+ if (auto *FDD = FD->getDefinition()) {
+ DefInPMF = FDD->getOwningModule()->isPrivateModule();
+ if (!DefInPMF)
----------------
ChuanqiXu wrote:
> nit:
(I added this one)
I wonder if we could try to reduce the number of asserts included by
considering making a test-case to cover the condition that is of concern -
since most devs build with assertions enabled, we should ensure that they are
only covering some case we really cannot test directly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128328/new/
https://reviews.llvm.org/D128328
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits