[clang] [BoundsSafety][doc] Add a missing newline in C snippet (PR #126245)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 7 06:01:07 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Piotr Fusik (pfusik)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/126245.diff
1 Files Affected:
- (modified) clang/docs/BoundsSafety.rst (+3-2)
``````````diff
diff --git a/clang/docs/BoundsSafety.rst b/clang/docs/BoundsSafety.rst
index e24c69d8c7855f3..f867c7ba07b48b3 100644
--- a/clang/docs/BoundsSafety.rst
+++ b/clang/docs/BoundsSafety.rst
@@ -959,7 +959,8 @@ that has the define.
#if defined(__has_feature) && __has_feature(bounds_safety)
#define __counted_by(T) __attribute__((__counted_by__(T)))
// ... other bounds annotations
- #else #define __counted_by(T) // defined as nothing
+ #else
+ #define __counted_by(T) // defined as nothing
// ... other bounds annotations
#endif
@@ -1003,4 +1004,4 @@ Try it out
Your feedback on the programming model is valuable. You may want to follow the
instruction in :doc:`BoundsSafetyAdoptionGuide` to play with ``-fbounds-safety``
-and please send your feedback to `Yeoul Na <mailto:yeoul_na at apple.com>`_.
\ No newline at end of file
+and please send your feedback to `Yeoul Na <mailto:yeoul_na at apple.com>`_.
``````````
</details>
https://github.com/llvm/llvm-project/pull/126245
More information about the cfe-commits
mailing list