Files
gem5/src/base
Nikos Nikoleris d1c7d7b872 base: Add M5 flag for [[nodiscard]] attribute
This change adds the M5_NODISCARD keyword to allow use of the
[[nodiscard]] attribute with compilers that support C++17. Currently,
C++17 is not a requirement and therefore the M5_NODISCARD has not
effect and does not break compilation for older compilers.

Change-Id: Ifc5c8f34764da3c7291066dcb2ff908c97738c3d
Reviewed-on: https://gem5-review.googlesource.com/10441
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
2018-05-17 14:16:24 +00:00
..
2017-12-14 00:27:59 +00:00
2016-02-06 17:21:18 -08:00
2015-09-30 15:21:55 -05:00
2016-02-06 17:21:18 -08:00
2017-12-14 00:27:59 +00:00
2016-02-06 17:21:18 -08:00
2017-12-12 19:45:58 +00:00
2017-12-12 19:45:58 +00:00
2018-03-14 11:56:29 +00:00
2011-04-13 09:32:19 -07:00
2017-05-02 12:37:32 +00:00
2017-05-02 12:37:32 +00:00