Skip to content

cxxmodules: hide private modules between targets

Track whether modules are private or not. This allows collation to give a useful error message when it finds usage of a private module rather than collation just not informing the compilation and the compiler erroring out about not being able to import unknown modules (which exists, but it was not told about due to visibility).

Fixes: #24652 (closed)

Edited by Brad King

Merge request reports