summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-04-11 17:36:33 -0700
committerWilliam A. Kennington III <wak@google.com>2019-04-11 17:36:41 -0700
commitf59854e94b077630200117b390c4e943d588be31 (patch)
tree2071f0cbae549b224c6b9d478d7169574dbd4e61 /tools
parente731044c79968eb867368ef9064c34c98c50872f (diff)
downloadphosphor-logging-master.tar.gz
phosphor-logging-master.zip
elog: Add noreturn attributeHEADmaster
We need to signal to the compiler that elog() always throws. This allows the compiler to deduce that we have unreachable code after the elog() statement, instead of a assuming that it might be reachable. Change-Id: If6c41773d3a0dde94d44481ad6ecd719365c515a Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud