Using this attribute allows the compilerto do some assumptions that can lead to optimizations. However, if a function with this attribute ever returns, the behavior becomes undefined.
== Noncompliant Code Example
----
[[noreturn]] void f () {
while (1) {
// ...
if (/* something*/) {
return; // Noncompliant, this function should not return