]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++/modules: Clean up importer_interface
authorNathaniel Shead <nathanieloshead@gmail.com>
Fri, 28 Mar 2025 12:30:31 +0000 (23:30 +1100)
committerNathaniel Shead <nathanieloshead@gmail.com>
Fri, 16 May 2025 13:33:02 +0000 (23:33 +1000)
commitc875748cdc468ec604c904e19a688998aa4d7a1f
tree98b44a449596c77f805be2d1db896e24c9d1eb3c
parente8404a95e3e5c9e297dfeb8175f9ebd52afe4410
c++/modules: Clean up importer_interface

This patch removes some no longer needed special casing in linkage
determination, and makes the distinction between "always_emit" and
"internal" for better future-proofing.

gcc/cp/ChangeLog:

* module.cc (importer_interface): Adjust flags.
(get_importer_interface): Rename flags.
(trees_out::core_bools): Clean up special casing.
(trees_out::write_function_def): Rename flag.

Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Reviewed-by: Jason Merrill <jason@redhat.com>
gcc/cp/module.cc