forked from OSchip/llvm-project
Updating the documentation for the _Noreturn attribute; NFC.
This commit is contained in:
parent
d213da49e1
commit
8dcf1c654e
|
@ -258,7 +258,9 @@ def C11NoReturnDocs : Documentation {
|
|||
let Content = [{
|
||||
A function declared as ``_Noreturn`` shall not return to its caller. The
|
||||
compiler will generate a diagnostic for a function declared as ``_Noreturn``
|
||||
that appears to be capable of returning to its caller.
|
||||
that appears to be capable of returning to its caller. Despite being a type
|
||||
specifier, the ``_Noreturn`` attribute cannot be specified on a function
|
||||
pointer type.
|
||||
}];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue