diff options
| -rw-r--r-- | clang/include/clang/Basic/AttrDocs.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index 9d0d2740757..3a909312463 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/include/clang/Basic/AttrDocs.td @@ -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. }]; } |

