[PATCH] D67545: [clang-tidy] Added DefaultOperatorNewCheck.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 04:05:00 PDT 2019


balazske created this revision.
Herald added subscribers: cfe-commits, gamesh411, Szelethus, dexonsmith, steven_wu, dkrupp, xazax.hun, inglorion, mgorny, mehdi_amini.
Herald added a project: clang.

Added new checker 'cert-default-operator-new' that checks for
CERT rule MEM57-CPP. Simple version.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67545

Files:
  clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
  clang-tools-extra/clang-tidy/cert/CMakeLists.txt
  clang-tools-extra/clang-tidy/cert/DefaultOperatorNewCheck.cpp
  clang-tools-extra/clang-tidy/cert/DefaultOperatorNewCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/cert-default-operator-new.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/test/clang-tidy/cert-default-operator-new.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67545.220073.patch
Type: text/x-patch
Size: 21377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190913/f26be206/attachment-0001.bin>


More information about the cfe-commits mailing list