[clang] [docs] adding unsigned-shift-base to inclusion / exclusion (PR #86381)

Michael Behrisch via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 22 23:40:40 PDT 2024


https://github.com/behrisch created https://github.com/llvm/llvm-project/pull/86381

None

>From 4411bba83e33b483f375236bee4fb263ed8d41a2 Mon Sep 17 00:00:00 2001
From: Michael Behrisch <oss at behrisch.de>
Date: Sat, 23 Mar 2024 07:39:27 +0100
Subject: [PATCH] adding  unsigned-shift-base to inclusion / exclusion

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

diff --git a/clang/docs/UndefinedBehaviorSanitizer.rst b/clang/docs/UndefinedBehaviorSanitizer.rst
index 8f58c92bd2a163..2fd36bf7cf5a80 100644
--- a/clang/docs/UndefinedBehaviorSanitizer.rst
+++ b/clang/docs/UndefinedBehaviorSanitizer.rst
@@ -213,7 +213,7 @@ Available checks are:
 
 You can also use the following check groups:
   -  ``-fsanitize=undefined``: All of the checks listed above other than
-     ``float-divide-by-zero``, ``unsigned-integer-overflow``,
+     ``float-divide-by-zero``, ``unsigned-integer-overflow``, ``unsigned-shift-base``,
      ``implicit-conversion``, ``local-bounds`` and the ``nullability-*`` group
      of checks.
   -  ``-fsanitize=undefined-trap``: Deprecated alias of
@@ -232,7 +232,7 @@ You can also use the following check groups:
   -  ``-fsanitize=integer``: Checks for undefined or suspicious integer
      behavior (e.g. unsigned integer overflow).
      Enables ``signed-integer-overflow``, ``unsigned-integer-overflow``,
-     ``shift``, ``integer-divide-by-zero``,
+     ``unsigned-shift-base``, ``shift``, ``integer-divide-by-zero``,
      ``implicit-unsigned-integer-truncation``,
      ``implicit-signed-integer-truncation``, and
      ``implicit-integer-sign-change``.



More information about the cfe-commits mailing list