HomePhabricator

Add attribute [[noreturn]] (C++11) to functions that will not return

Description

Add attribute noreturn (C++11) to functions that will not return

Summary:
Rationale:

  • Reduce the number of false positives from static analyzers
  • Potentially enable additional compiler optimizations

Backport of core's PR10843

Depends on D906

Test Plan:

make check

Reviewers: schancel, #bitcoin_abc

Reviewed By: schancel, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D911

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Jul 16 2017, 12:56
deadalnixCommitted on Jan 8 2018, 02:42
deadalnixPushed on Jan 8 2018, 02:42
Reviewer
Restricted Project
Differential Revision
D911: Add attribute [[noreturn]] (C++11) to functions that will not return
Parents
rABCa5e706b80b17: Add basic Qt wallet test
Branches
Unknown
Tags
Unknown

Event Timeline