aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/trait13.rs
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-03-19 15:02:23 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-03-20 10:07:54 +0100
commit56145ae79b89b823f306c2c241f6a1fe5d604816 (patch)
treedb63c9d4689d4f5bf1e2e78ebc5507b70ad909c1 /gcc/testsuite/rust/compile/trait13.rs
parent8d236c53c679ca920092ce9200785fcccd97d971 (diff)
downloadgcc-56145ae79b89b823f306c2c241f6a1fe5d604816.zip
gcc-56145ae79b89b823f306c2c241f6a1fe5d604816.tar.gz
gcc-56145ae79b89b823f306c2c241f6a1fe5d604816.tar.bz2
Make function_decl_type a scoped enum
The enum currently has a member named NONE which pollutes the global namespace unnecessarily. Use a scoped enum instead. gcc/ * tree-core.h (function_decl_type): Make a scoped enum. * tree.h (set_function_decl_type): Adjust. (DECL_IS_OPERATOR_NEW_P): Likewise. (DECL_SET_IS_OPERATOR_NEW): Likewise. (DECL_IS_OPERATOR_DELETE_P): Likewise. (DECL_SET_IS_OPERATOR_DELETE): Likewise. (DECL_LAMBDA_FUNCTION_P): Likewise. (DECL_SET_LAMBDA_FUNCTION): Likewise. * lto-streamer-out.cc (hash_tree): Hash all of FUNCTION_DECL_DECL_TYPE. * tree-streamer-out.cc (pack_ts_function_decl_value_fields): Adjust. * config/aarch64/aarch64-simd-pragma-builtins.def (vcombine_mf8): Use literal zero instead of NONE. gcc/cp/ * module.cc (trees_out::core_bools): Convert scoped enum explicitly.
Diffstat (limited to 'gcc/testsuite/rust/compile/trait13.rs')
0 files changed, 0 insertions, 0 deletions