From: Aaron Ballman Date: Mon, 14 Feb 2022 14:43:47 +0000 (-0500) Subject: Fix the Sphinx build X-Git-Tag: upstream/15.0.7~16596 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f037082714a0fd48568a1f10ef3e4db8919e1523;p=platform%2Fupstream%2Fllvm.git Fix the Sphinx build Add a heading to appease the Sphinx bot, and add some basic documentation for [[_Noreturn]]. --- diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index 0e871b4..f61c9d0 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/include/clang/Basic/AttrDocs.td @@ -487,10 +487,14 @@ pointer type. def CXX11NoReturnDocs : Documentation { let Category = DocCatFunction; + let Heading = "noreturn, _Noreturn"; 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. + +The ``[[_Noreturn]]`` spelling is deprecated and only exists to ease code +migration for code using ``[[noreturn]]`` after including ````. }]; }