[all-commits] [llvm/llvm-project] 1c459a: Revert "[clang-tidy] Extend cert-oop57-cpp to chec...

Endre Fülöp via All-commits all-commits at lists.llvm.org
Tue May 31 23:23:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c459a20ea5626264d867aaf65882c9cc6d0bf8a
      https://github.com/llvm/llvm-project/commit/1c459a20ea5626264d867aaf65882c9cc6d0bf8a
  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:
  -----------
  Revert "[clang-tidy] Extend cert-oop57-cpp to check non-zero memset values"

Revert to fix a ReleaseNote issue.

This reverts commit d33f199910fa02cf7072f3227913e670c98d03a9.


  Commit: e290fcef111c24ed833c9768809eb900a21c94e0
      https://github.com/llvm/llvm-project/commit/e290fcef111c24ed833c9768809eb900a21c94e0
  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


Compare: https://github.com/llvm/llvm-project/compare/d33f199910fa...e290fcef111c


More information about the All-commits mailing list