summaryrefslogtreecommitdiffstats
path: root/elog_meta.cpp
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 /elog_meta.cpp
parente731044c79968eb867368ef9064c34c98c50872f (diff)
downloadphosphor-logging-f59854e94b077630200117b390c4e943d588be31.tar.gz
phosphor-logging-f59854e94b077630200117b390c4e943d588be31.zip
elog: Add noreturn attribute
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 'elog_meta.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud