[all-commits] [llvm/llvm-project] d33f19: [clang-tidy] Extend cert-oop57-cpp to check non-ze...
Endre Fülöp via All-commits
all-commits at lists.llvm.org
Tue May 31 23:16:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d33f199910fa02cf7072f3227913e670c98d03a9
https://github.com/llvm/llvm-project/commit/d33f199910fa02cf7072f3227913e670c98d03a9
Author: Endre Fülöp <endre.fulop at sigmatechnology.se>
Date: 2022-06-01 (Wed, 01 Jun 2022)
Changed paths:
M clang-tools-extra/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/cert-oop57-cpp.cpp
Log Message:
-----------
[clang-tidy] Extend cert-oop57-cpp to check non-zero memset values
Clang Tidy check cert-oop57-cpp now checks for arbitrary-valued
arguments in memset expressions containing non-trivially
default-constructible instances. Previously it only checked literal 0 values.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D126186
More information about the All-commits
mailing list