From 39fa431c8ccad45de9ec67e8681da923d0cd28c7 Mon Sep 17 00:00:00 2001 From: Jan Korous Date: Tue, 2 Jun 2020 16:03:24 -0700 Subject: [PATCH] [Analyzer][NFC] Fix markup in WebKit checkers documentation --- clang/docs/analyzer/checkers.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/clang/docs/analyzer/checkers.rst b/clang/docs/analyzer/checkers.rst index c977dde..3401804 100644 --- a/clang/docs/analyzer/checkers.rst +++ b/clang/docs/analyzer/checkers.rst @@ -1381,10 +1381,11 @@ WebKit is an open-source web browser engine available for macOS, iOS and Linux. This section describes checkers that can find issues in WebKit codebase. Most of the checkers focus on memory management for which WebKit uses custom implementation of reference counted smartpointers. -Checker are formulated in terms related to ref-counting: -* *Ref-counted type* is either ``Ref`` or ``RefPtr``. -* *Ref-countable type* is any type that implements ``ref()`` and ``deref()`` methods as ``RefPtr<>`` is a template (i. e. relies on duck typing). -* *Uncounted type* is ref-countable but not ref-counted type. + +Checkers are formulated in terms related to ref-counting: + - *Ref-counted type* is either ``Ref`` or ``RefPtr``. + - *Ref-countable type* is any type that implements ``ref()`` and ``deref()`` methods as ``RefPtr<>`` is a template (i. e. relies on duck typing). + - *Uncounted type* is ref-countable but not ref-counted type. .. _webkit-RefCntblBaseVirtualDtor: @@ -1410,6 +1411,7 @@ webkit.WebKitNoUncountedMemberChecker Raw pointers and references to uncounted types can't be used as class members. Only ref-counted types are allowed. .. code-block:: cpp + struct RefCntbl { void ref() {} void deref() {} -- 2.7.4