diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-08-22 09:36:06 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-08-22 09:38:49 +0200 |
| commit | 2ab7c6300f87a1c7f5a5805f7677e07ab809cac7 (patch) | |
| tree | df580dbcd69797eb7760fd8f94e75b531fc2faec /src/httpserver.cpp | |
| parent | Merge #11058: Comments: More comments on functions/globals in standard.h. (diff) | |
| parent | Add attribute [[noreturn]] (C++11) to functions that will not return (diff) | |
| download | discoin-2ab7c6300f87a1c7f5a5805f7677e07ab809cac7.tar.xz discoin-2ab7c6300f87a1c7f5a5805f7677e07ab809cac7.zip | |
Merge #10843: Add attribute [[noreturn]] (C++11) to functions that will not return
b82c55a Add attribute [[noreturn]] (C++11) to functions that will not return (practicalswift)
Pull request description:
Add attribute `[[noreturn]]` (C++11) to functions that will not return.
Rationale:
* Reduce the number of false positives/false negatives from static analyzers with regards to things such as unused or unreachable code
* Potentially enable additional compiler optimizations
Tree-SHA512: 899683fe8b2fcf19bd334352271d368b46b805be9d426aac1808335fd95732d6d7078d3296951b9879196f3f6e3ec0fdb7695d0afdc3fbe4dd78a2ca70e91ff7
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions