[clang] [Docs, MemorySanitizer] Reword to improve readability (PR #235477)

Venkata Ramanaiah Nalamothu via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 25 09:22:10 PDT 2026


https://github.com/RamNalamothu created https://github.com/llvm/llvm-project/pull/235477

None

>From eef6f3255f50228fedf0cad1e6c7dc73bba445ed Mon Sep 17 00:00:00 2001
From: Venkata Ramanaiah Nalamothu <ramana.venkat83 at gmail.com>
Date: Sun, 25 Oct 2026 21:41:21 +0530
Subject: [PATCH] [Docs, MemorySanitizer] Reword to improve readability

---
 clang/docs/MemorySanitizer.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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



More information about the cfe-commits mailing list