Author: Dávid Bolvanský Date: 2021-04-24T15:35:16+02:00 New Revision: d29a53d9cabcb37621b793c5bf44076e75b8db88
URL: https://github.com/llvm/llvm-project/commit/d29a53d9cabcb37621b793c5bf44076e75b8db88 DIFF: https://github.com/llvm/llvm-project/commit/d29a53d9cabcb37621b793c5bf44076e75b8db88.diff LOG: [Clang] Added heading to doc for malloc attribute 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 7b9d618c07ae..1960596f1bfb 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/include/clang/Basic/AttrDocs.td @@ -3714,6 +3714,7 @@ system) and does not imply undefined behavior, making it more widely applicable. def RestrictDocs : Documentation { let Category = DocCatFunction; + let Heading = "malloc"; let Content = [{ The ``malloc`` attribute indicates that the function acts like a system memory allocation function, returning a pointer to allocated storage disjoint from the _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits