summaryrefslogtreecommitdiff
path: root/src/mem/mem_master.hh
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2018-05-15 08:30:40 +0100
committerNikos Nikoleris <nikos.nikoleris@arm.com>2018-05-17 14:16:24 +0000
commitd1c7d7b872a07a6c5a12e379205df21d298f044f (patch)
tree91cf76e3bd456b25fc38ac99d71cefc5d78c8f08 /src/mem/mem_master.hh
parent403c0158f57090dbbd4b21166887eb53b13a7fc6 (diff)
downloadgem5-d1c7d7b872a07a6c5a12e379205df21d298f044f.tar.xz
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>
Diffstat (limited to 'src/mem/mem_master.hh')
0 files changed, 0 insertions, 0 deletions