Skip to content

Commit 4cbd960

Browse files
NagyDonatSzelethus
andauthored
Use a "note" block.
Co-authored-by: Kristóf Umann <[email protected]>
1 parent 098e884 commit 4cbd960

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/docs/analyzer/user-docs/Annotations.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ Dynamic Memory Modeling Annotations
168168

169169
If a project uses custom functions for dynamic memory management (that e.g. act as wrappers around ``malloc``/``free`` or ``new``/``delete`` in C++) and the analyzer cannot "see" the _definitions_ of these functions, it's possible to annotate their declarations to let the analyzer model their behavior. (Otherwise the analyzer cannot know that the opaque ``my_free()`` is basically equivalent to a standard ``free()`` call.)
170170

171-
**This page only provides a brief list of these annotations.** For a full documentation, see the main `Attributes in Clang <../../AttributeReference.html#ownership-holds-ownership-returns-ownership-takes-clang-static-analyzer>`_ page.
171+
.. note::
172+
**This page only provides a brief list of these annotations.** For a full documentation, see the main `Attributes in Clang <../../AttributeReference.html#ownership-holds-ownership-returns-ownership-takes-clang-static-analyzer>`_ page.
172173

173174
Attribute 'ownership_returns' (Clang-specific)
174175
----------------------------------------------

0 commit comments

Comments
 (0)