[clang] [Docs, MemorySanitizer] Reword to improve readability (PR #235477)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 25 09:22:42 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Venkata Ramanaiah Nalamothu (RamNalamothu)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/235477.diff
1 Files Affected:
- (modified) clang/docs/MemorySanitizer.md (+2-2)
``````````diff
diff --git a/clang/docs/MemorySanitizer.md b/clang/docs/MemorySanitizer.md
index fdc7b7e0935f02..d9ba74641c7787 100644
--- a/clang/docs/MemorySanitizer.md
+++ b/clang/docs/MemorySanitizer.md
@@ -8,11 +8,11 @@ compiler instrumentation module and a run-time library.
Typical slowdown introduced by MemorySanitizer is **3x**.
-Here is a not comprehensive of list cases when MemorySanitizer will report an error:
+Here is a non-exhaustive list of cases when MemorySanitizer will report an error:
- Uninitialized value was used in a conditional branch.
- Uninitialized pointer was used for memory accesses.
-- Uninitialized value was passed or returned from a function call, which is considered an undefined behavior. The check can be disabled with `-fno-sanitize-memory-param-retval`.
+- Uninitialized value was passed to or returned from a function call, which is considered as an undefined behavior. The check can be disabled with `-fno-sanitize-memory-param-retval`.
- Uninitialized data was passed into some libc calls.
## How to build
``````````
</details>
https://github.com/llvm/llvm-project/pull/235477
More information about the cfe-commits
mailing list