gcc/include
David Malcolm 2c5c645663 libiberty: remove FINAL and OVERRIDE from ansidecl.h
libiberty's ansidecl.h provides macros FINAL and OVERRIDE to allow
virtual functions to be labelled with the C++11 "final" and "override"
specifiers, but with empty implementations on pre-C++11 C++ compilers.

We've used the macros in many places in GCC, but as of as of GCC 11
onwards GCC has required a C++11 compiler, such as GCC 4.8 or later.
On the assumption that any such compiler correctly implements "final"
and "override", I've simplified GCC's codebase by replacing all uses of
the FINAL and OVERRIDE macros in GCC's source tree with the lower-case
specifiers (via commits r13-690-gff171cb13df671 and
r13-716-g8473ef7be60443)

The macros are reportedly not used anywhere in binutils-gdb.

This patch completes this transition for GCC by eliminating the macros
from ansidecl.h.

include/ChangeLog:
	* ansidecl.h: Drop macros OVERRIDE and FINAL.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2022-05-24 10:22:37 -04:00
..
cuda 'include/cuda/cuda.h': Add parts necessary for nvptx-tools 'nvptx-run' 2022-05-18 12:06:20 +02:00
gdb Update copyright years. 2022-01-03 10:42:10 +01:00
COPYING
COPYING3
ChangeLog Daily bump. 2022-05-24 00:17:03 +00:00
ChangeLog-9103
ChangeLog.jit
ansidecl.h libiberty: remove FINAL and OVERRIDE from ansidecl.h 2022-05-24 10:22:37 -04:00
btf.h Update copyright years. 2022-01-03 10:42:10 +01:00
ctf.h Update copyright years. 2022-01-03 10:42:10 +01:00
demangle.h demangler: C++ modules support 2022-05-23 05:39:15 -07:00
dwarf2.def Update copyright years. 2022-01-03 10:42:10 +01:00
dwarf2.h Update copyright years. 2022-01-03 10:42:10 +01:00
dyn-string.h Update copyright years. 2022-01-03 10:42:10 +01:00
environ.h Update copyright years. 2022-01-03 10:42:10 +01:00
fibheap.h Update copyright years. 2022-01-03 10:42:10 +01:00
filenames.h Update copyright years. 2022-01-03 10:42:10 +01:00
floatformat.h rename floatformat_ia64_quad_{big, little} to floatformat_ieee_quad_{big, little} 2022-03-19 13:33:40 -04:00
fnmatch.h Update copyright years. 2022-01-03 10:42:10 +01:00
gcc-c-fe.def Update copyright years. 2022-01-03 10:42:10 +01:00
gcc-c-interface.h Update copyright years. 2022-01-03 10:42:10 +01:00
gcc-cp-fe.def Update copyright years. 2022-01-03 10:42:10 +01:00
gcc-cp-interface.h Update copyright years. 2022-01-03 10:42:10 +01:00
gcc-interface.h Update copyright years. 2022-01-03 10:42:10 +01:00
getopt.h Update copyright years. 2022-01-03 10:42:10 +01:00
gomp-constants.h openmp: Add support for inoutset depend-kind 2022-05-17 15:40:27 +02:00
hashtab.h libiberty: stop using PTR macro 2022-05-10 16:04:30 +02:00
hsa.h Import HSA header files from AMD 2020-12-09 11:10:40 +00:00
hsa_ext_amd.h Import HSA header files from AMD 2020-12-09 11:10:40 +00:00
hsa_ext_image.h Import HSA header files from AMD 2020-12-09 11:10:40 +00:00
leb128.h Update copyright years. 2022-01-03 10:42:10 +01:00
libiberty.h Update copyright years. 2022-01-03 10:42:10 +01:00
longlong.h Update copyright years. 2022-01-03 10:42:10 +01:00
lto-symtab.h Update copyright years. 2022-01-03 10:42:10 +01:00
md5.h Update copyright years. 2022-01-03 10:42:10 +01:00
objalloc.h Update copyright years. 2022-01-03 10:42:10 +01:00
obstack.h Update copyright years. 2022-01-03 10:42:10 +01:00
partition.h Update copyright years. 2022-01-03 10:42:10 +01:00
plugin-api.h LTO plugin: modernize a bit. 2022-05-04 08:20:13 +02:00
safe-ctype.h Update copyright years. 2022-01-03 10:42:10 +01:00
sha1.h Update copyright years. 2022-01-03 10:42:10 +01:00
simple-object.h Update copyright years. 2022-01-03 10:42:10 +01:00
sort.h Update copyright years. 2022-01-03 10:42:10 +01:00
splay-tree.h Update copyright years. 2022-01-03 10:42:10 +01:00
symcat.h Update copyright years. 2022-01-03 10:42:10 +01:00
timeval-utils.h Update copyright years. 2022-01-03 10:42:10 +01:00
vtv-change-permission.h Update copyright years. 2022-01-03 10:42:10 +01:00
xregex.h
xregex2.h Update copyright years. 2022-01-03 10:42:10 +01:00
xtensa-config.h Update copyright years. 2022-01-03 10:42:10 +01:00