[PATCH] D146947: [docs][clang] Added extra information inside the flag -fsanitize=unsigned-shift-base for UndefinedBehaviorSanitizer Fix : #60712

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 27 07:20:16 PDT 2023


Eugene.Zelenko added inline comments.


================
Comment at: clang/docs/UndefinedBehaviorSanitizer.rst:160
   -  ``-fsanitize=unsigned-shift-base``: check that an unsigned left-hand side of
-     a left shift operation doesn't overflow.
+     a left shift operation doesn't overflow.Issues caught by this sanitizer are 
+     not undefined behavior, but are often unintentional.
----------------
Missing space after period.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146947/new/

https://reviews.llvm.org/D146947



More information about the cfe-commits mailing list