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
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
ChangeLog.jit
COPYING
COPYING3
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
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 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
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
xregex2.h
xregex.h
xtensa-config.h