[clang] 34bb48e - [clang][docs] Fix coro_await_elidable bullet list rendering (NFC) (#208333)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 08:57:37 PDT 2026
Author: Yuxuan Chen
Date: 2026-07-09T08:57:33-07:00
New Revision: 34bb48e9875a03e418941c17e281076b70b60836
URL: https://github.com/llvm/llvm-project/commit/34bb48e9875a03e418941c17e281076b70b60836
DIFF: https://github.com/llvm/llvm-project/commit/34bb48e9875a03e418941c17e281076b70b60836.diff
LOG: [clang][docs] Fix coro_await_elidable bullet list rendering (NFC) (#208333)
Add the blank line required before the reStructuredText bullet list and
indent the continuation line for the second item. Without this, the
generated AttributeReference page does not render the
coro_await_elidable safe-elide-context bullets correctly.
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 b67a5b076237c..ba19e61168575 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -9795,9 +9795,10 @@ Heap Allocation Elision more aggressively.
When a coroutine function returns such a type, a direct call expression therein
that returns a prvalue of a type attributed ``[[clang::coro_await_elidable]]``
is said to be under a safe elide context if one of the following is true:
+
- it is the immediate right-hand side operand to a co_await expression.
- it is an argument to a ``[[clang::coro_await_elidable_argument]]`` parameter
-or parameter pack of another direct call expression under a safe elide context.
+ or parameter pack of another direct call expression under a safe elide context.
Do note that the safe elide context applies only to the call expression itself,
and the context does not transitively include any of its subexpressions unless
More information about the cfe-commits
mailing list