diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-03-26 10:31:58 -0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 16:51:30 +0200 |
commit | a861463c3c7a216632ae81a90e085fb99579d544 (patch) | |
tree | 98718cfe73d65cfcd6375027f1cb29b89793e30b /LICENSE.LGPL | |
parent | 2c4845ce331e5dfaf5e106f74871ce16721a1358 (diff) |
Add a Q_NORETURN macro to mark a function that never returns
This is implemented for GCC, ICC, Clang and MSVC. With this macro, the
compiler can generate better code because it knows that the function
being called will not return.
Change-Id: Iea2bc7be464606639be65ccb73911d7ed1b29a64
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions