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
..
gdb Update copyright years. 2017-01-04 12:30:51 +01:00
ansidecl.h [include] Add macro DISABLE_COPY_AND_ASSIGN 2017-09-15 15:40:50 +00:00
ChangeLog [include] Add macro DISABLE_COPY_AND_ASSIGN 2017-09-15 15:40:50 +00:00
ChangeLog-9103 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
COPYING
COPYING3 COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
demangle.h Fix PR demangler/70909 and 67264 (endless demangler recursion) 2017-03-08 14:28:38 +00:00
dwarf2.def Add DW_CFA_AARCH64_negate_ra_state to dwarf2.def/h and dwarfnames.c 2017-09-12 16:39:59 +00:00
dwarf2.h Add DW_CFA_AARCH64_negate_ra_state to dwarf2.def/h and dwarfnames.c 2017-09-12 16:39:59 +00:00
dyn-string.h Update copyright years. 2017-01-04 12:30:51 +01:00
environ.h environ.h: Add #ifndef guard. 2017-05-19 21:22:07 -04:00
fibheap.h Update copyright years. 2017-01-04 12:30:51 +01:00
filenames.h Update copyright years. 2017-01-04 12:30:51 +01:00
floatformat.h Update copyright years. 2017-01-04 12:30:51 +01:00
fnmatch.h Update copyright years. 2017-01-04 12:30:51 +01:00
gcc-c-fe.def Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
gcc-c-interface.h Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
gcc-cp-fe.def Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
gcc-cp-interface.h Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
gcc-interface.h Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
getopt.h Update copyright years. 2017-01-04 12:30:51 +01:00
gomp-constants.h Update copyright years. 2017-01-04 12:30:51 +01:00
hashtab.h Update copyright years. 2017-01-04 12:30:51 +01:00
hsa.h Brig front-end 2017-01-24 13:45:56 +01:00
leb128.h Update copyright years. 2017-01-04 12:30:51 +01:00
libiberty.h * libiberty.h (ASTRDUP): Adjust cast to avoid warning. 2017-05-25 00:33:48 +00:00
longlong.h * longlong.h: Remove ns32k support. 2017-06-27 10:10:15 -06:00
lto-symtab.h Update copyright years. 2017-01-04 12:30:51 +01:00
md5.h Update copyright years. 2017-01-04 12:30:51 +01:00
objalloc.h Update copyright years. 2017-01-04 12:30:51 +01:00
obstack.h Update copyright years. 2017-01-04 12:30:51 +01:00
partition.h Update copyright years. 2017-01-04 12:30:51 +01:00
plugin-api.h Update copyright years. 2017-01-04 12:30:51 +01:00
safe-ctype.h Update copyright years. 2017-01-04 12:30:51 +01:00
sha1.h Update copyright years. 2017-01-04 12:30:51 +01:00
simple-object.h re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
sort.h Update copyright years. 2017-01-04 12:30:51 +01:00
splay-tree.h Update copyright years. 2017-01-04 12:30:51 +01:00
symcat.h Update copyright years. 2017-01-04 12:30:51 +01:00
timeval-utils.h Update copyright years. 2017-01-04 12:30:51 +01:00
vtv-change-permission.h Update copyright years. 2017-01-04 12:30:51 +01:00
xregex2.h Update copyright years. 2017-01-04 12:30:51 +01:00
xregex.h system.h [...]: Wrap C function declarations in extern "C". 2011-07-25 14:24:59 +00:00
xtensa-config.h Update copyright years. 2017-01-04 12:30:51 +01:00