Author: Aaron Ballman Date: 2019-10-30T11:42:18-04:00 New Revision: 8dcf1c654ed4e95a618868d4fab11af2068a1471
URL: https://github.com/llvm/llvm-project/commit/8dcf1c654ed4e95a618868d4fab11af2068a1471 DIFF: https://github.com/llvm/llvm-project/commit/8dcf1c654ed4e95a618868d4fab11af2068a1471.diff LOG: Updating the documentation for the _Noreturn attribute; NFC. Added: Modified: clang/include/clang/Basic/AttrDocs.td Removed: ################################################################################ diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index 9d0d27407573..3a9093124637 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. }]; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits