diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-11-01 15:46:42 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-11-01 15:46:42 +0000 |
commit | ce12115844ef8f66a28205d1f1e81ea0ccc946b1 (patch) | |
tree | 1dba75c64dce051b6ee0933505d31b39046940fa /gcc/tree-switch-conversion.c | |
parent | 4a110e3478460101b4c0d6591d7cdb0b1d3a276b (diff) | |
download | gcc-ce12115844ef8f66a28205d1f1e81ea0ccc946b1.zip gcc-ce12115844ef8f66a28205d1f1e81ea0ccc946b1.tar.gz gcc-ce12115844ef8f66a28205d1f1e81ea0ccc946b1.tar.bz2 |
[C++ PATCH] overloaded operator fns [6/N]
https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00019.html
gcc/cp/
* cp-tree.h (assign_op_identifier, call_op_identifier): Use
compressed code.
(struct lang_decl_fn): Use compressed operator code.
(DECL_OVERLOADED_OPERATOR_CODE): Replace with ...
(DECL_OVERLOADED_OPERATOR_CODE_RAW): ... this.
(DECL_OVERLOADED_OPERATOR_CODE_IS): Use it.
* decl.c (duplicate_decls): Use DECL_OVERLOADED_OPERATOR_CODE_RAW.
(build_library_fn): Likewise.
(grok_op_properties): Likewise.
* mangle.c (write_unqualified_name): Likewise.
* method.c (implicitly_declare_fn): Likewise.
* typeck.c (check_return_expr): Use DECL_OVERLOADED_OPERATOR_IS.
libcc1/
* libcp1plugin.cc (plugin_build_decl): Use
DECL_OVERLOADED_OPERATOR_CODE_RAW.
From-SVN: r254314
Diffstat (limited to 'gcc/tree-switch-conversion.c')
0 files changed, 0 insertions, 0 deletions