diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-07-12 19:46:33 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-07-12 19:46:33 +0000 |
commit | 75f8b378927f86757eedbbca6745467d0c3d6212 (patch) | |
tree | 552c5ae2713e55640d5187d60bf48cf8b65a30e9 | |
parent | 3da3dcdb98a750533a9d863fce8e30c657d968af (diff) | |
download | gcc-75f8b378927f86757eedbbca6745467d0c3d6212.zip gcc-75f8b378927f86757eedbbca6745467d0c3d6212.tar.gz gcc-75f8b378927f86757eedbbca6745467d0c3d6212.tar.bz2 |
libcp1plugin.cc (plugin_build_decl): Use DECL_CXX_{CON,DE}STRUCTOR directly.
* libcp1plugin.cc (plugin_build_decl): Use
DECL_CXX_{CON,DE}STRUCTOR directly.
From-SVN: r250159
-rw-r--r-- | libcc1/ChangeLog | 5 | ||||
-rw-r--r-- | libcc1/libcp1plugin.cc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index dc10734..a5acf0d 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,8 @@ +2017-07-12 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_decl): Use + DECL_CXX_{CON,DE}STRUCTOR directly. + 2017-07-05 Richard Sandiford <richard.sandiford@linaro.org> * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE. diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc index ad33d7a..8dd5e67 100644 --- a/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc @@ -1419,9 +1419,9 @@ plugin_build_decl (cc1_plugin::connection *self, if (ctor || dtor) { if (ctor) - DECL_CONSTRUCTOR_P (decl) = 1; + DECL_CXX_CONSTRUCTOR_P (decl) = 1; if (dtor) - DECL_DESTRUCTOR_P (decl) = 1; + DECL_CXX_DESTRUCTOR_P (decl) = 1; } else { |