Sync with GCC
2015-08-11 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* ansidecl.h (GCC_FINAL): New macro.
+2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ Sync with GCC
+ 2015-08-11 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ * ansidecl.h (GCC_FINAL): New macro.
+
2015-07-16 Jiong Wang <jiong.wang@arm.com>
* elf/aarch64.h (R_AARCH64_P32_TLSLD_ADR_PREL21): New enumeration.
#define ENUM_BITFIELD(TYPE) unsigned int
#endif
+ /* This is used to mark a class or virtual function as final. */
+#if __cplusplus >= 201103L
+#define GCC_FINAL final
+#elif GCC_VERSION >= 4007
+#define GCC_FINAL __final
+#else
+#define GCC_FINAL
+#endif
+
#ifdef __cplusplus
}
#endif