gcc/include
Yao Qi 681f5b7cc8 [include] Add macro DISABLE_COPY_AND_ASSIGN
We have many classes that copy cotr and assignment operator are deleted
in different projects, gcc, gdb and gold.  So this patch adds a macro
to do this, and replace these existing mechanical code with macro
DISABLE_COPY_AND_ASSIGN.

The patch was posted in gdb-patches,
https://sourceware.org/ml/gdb-patches/2017-07/msg00254.html but we
think it is better to put this macro in include/ansidecl.h so that
other projects can use it too.

include:

2017-09-15  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves  <palves@redhat.com>

	* ansidecl.h (DISABLE_COPY_AND_ASSIGN): New macro.

Co-Authored-By: Pedro Alves <palves@redhat.com>

From-SVN: r252823
2017-09-15 15:40:50 +00:00
..
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-05-19 21:22:07 -04:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-31 01:02:03 +00:00
2017-01-31 01:02:03 +00:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-24 13:45:56 +01:00
2017-01-04 12:30:51 +01:00
2017-06-27 10:10:15 -06:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00
2017-01-04 12:30:51 +01:00