[PATCH] D72488: [clang-tidy] Add check for CERT-OOP57-CPP
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 17:42:18 PST 2020
njames93 created this revision.
njames93 added projects: clang, clang-tools-extra.
Herald added subscribers: cfe-commits, xazax.hun, mgorny.
This is a very basic warning implementation of Prefer special member functions and overloaded operators to C Standard Library functions <https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP57-CPP.+Prefer+special+member+functions+and+overloaded+operators+to+C+Standard+Library+functions>
It absolutely needs some fine tuning though.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72488
Files:
clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
clang-tools-extra/clang-tidy/cert/CMakeLists.txt
clang-tools-extra/clang-tidy/cert/NotTrivialTypesLibcMemoryCallsCheck.cpp
clang-tools-extra/clang-tidy/cert/NotTrivialTypesLibcMemoryCallsCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/cert-oop57-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/cert-oop57-cpp.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72488.237229.patch
Type: text/x-patch
Size: 13995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200110/820b6acc/attachment.bin>
More information about the cfe-commits
mailing list