[clang] [clang][Modules] Complete the implementation of P2615: Meaningful exports (PR #194201)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 26 23:29:32 PDT 2026


https://github.com/Endilll commented:

I agree that this PR seems to implement CWG2443. If the author agrees, you should add (but not move) relevant tests to C++ DR tests and claim conformance with CWG2443. I think the scope of CWG2443 is narrower than that of P2615R1: it covers `export` applied to various declaration, but doesn't cover language linkage specifiers. Please also include test cases with `export` blocks, which I expect to behave differently than `export` specifier on declarations.

Also see [documentation](https://clang.llvm.org/docs/InternalsManual.html#c-defect-report-tests) about C++ defect report tests if you didn't work in `clang/test/CXX/drs` before — there is a number of special rules upheld there.

https://github.com/llvm/llvm-project/pull/194201


More information about the cfe-commits mailing list