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
COPYING
COPYING3
ChangeLog [include] Add macro DISABLE_COPY_AND_ASSIGN 2017-09-15 15:40:50 +00:00
ChangeLog-9103
ChangeLog.jit
ansidecl.h [include] Add macro DISABLE_COPY_AND_ASSIGN 2017-09-15 15:40:50 +00:00
demangle.h
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
environ.h environ.h: Add #ifndef guard. 2017-05-19 21:22:07 -04:00
fibheap.h
filenames.h
floatformat.h
fnmatch.h
gcc-c-fe.def
gcc-c-interface.h
gcc-cp-fe.def
gcc-cp-interface.h
gcc-interface.h
getopt.h
gomp-constants.h
hashtab.h
hsa.h
leb128.h
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
md5.h
objalloc.h
obstack.h
partition.h
plugin-api.h
safe-ctype.h
sha1.h
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
splay-tree.h
symcat.h
timeval-utils.h
vtv-change-permission.h
xregex.h
xregex2.h
xtensa-config.h