Commit 75f8b378 by Nathan Sidwell Committed by Nathan Sidwell

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
parent 3da3dcdb
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.
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment