]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++/modules: Update lang_decl_bool streaming
authorNathaniel Shead <nathanieloshead@gmail.com>
Sat, 10 Jan 2026 02:52:37 +0000 (13:52 +1100)
committerNathaniel Shead <nathanieloshead@gmail.com>
Tue, 13 Jan 2026 21:52:13 +0000 (08:52 +1100)
commitccb4ef5bd0a7cb001e2c8d883a5b9280d0773018
treedc3f4c329faeacea4acc78b2c2f7469455cab5e0
parent8d5eb4f6c1f248340f12adbe76882c3615343e8b
c++/modules: Update lang_decl_bool streaming

The set of lang_decl flags that we were streaming had gotten out of sync
with the current list; update them.

One notable change is that anticipated_p, which had previously been
deliberately skipped, is now only used for DECL_OMP_PRIVATIZED_MEMBER,
and so should probably be streamed as well.

gcc/cp/ChangeLog:

* module.cc (trees_out::lang_decl_bools): Update list of flags.
(trees_in::lang_decl_bools): Likewise.

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