[clang-tools-extra] fea55db - [clang-tidy][DOC] Fix syntax in coroutine-hostile-raii.rst

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 10:34:55 PDT 2023


Author: Piotr Zegar
Date: 2023-10-18T17:34:40Z
New Revision: fea55db23372e24e764627c81dd7cf565dcf54c2

URL: https://github.com/llvm/llvm-project/commit/fea55db23372e24e764627c81dd7cf565dcf54c2
DIFF: https://github.com/llvm/llvm-project/commit/fea55db23372e24e764627c81dd7cf565dcf54c2.diff

LOG: [clang-tidy][DOC] Fix syntax in coroutine-hostile-raii.rst

Fix 'Bullet list ends without a blank line; unexpected unindent.

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/misc/coroutine-hostile-raii.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/checks/misc/coroutine-hostile-raii.rst b/clang-tools-extra/docs/clang-tidy/checks/misc/coroutine-hostile-raii.rst
index f2bafe27f4b8ea3..b8698ba3de85300 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc/coroutine-hostile-raii.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc/coroutine-hostile-raii.rst
@@ -20,9 +20,9 @@ you must do so without allowing the coroutine to suspend in the meantime.
 Following types are considered as hostile:
 
  - Scoped-lockable types: A scoped-lockable object persisting across a suspension
- point is problematic as the lock held by this object could be unlocked by a
- 
diff erent thread. This would be undefined behaviour.
- This includes all types annotated with the ``scoped_lockable`` attribute.
+   point is problematic as the lock held by this object could be unlocked by a
+   
diff erent thread. This would be undefined behaviour.
+   This includes all types annotated with the ``scoped_lockable`` attribute.
 
  - Types belonging to a configurable denylist.
 


        


More information about the cfe-commits mailing list