Updating the documentation for the _Noreturn attribute; NFC.

This commit is contained in:
Aaron Ballman 2019-10-30 11:36:44 -04:00
parent d213da49e1
commit 8dcf1c654e
1 changed files with 3 additions and 1 deletions

View File

@ -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.
}];
}