[PATCH] D23421: [Clang-tidy] CERT-DCL58-CPP (checker for std namespace modification)

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 08:11:12 PST 2017


xazax.hun updated this revision to Diff 88541.
xazax.hun added a comment.

- Do not warn for function specializations within the std namespace.
- Add a test case for swap.


https://reviews.llvm.org/D23421

Files:
  clang-tidy/cert/CERTTidyModule.cpp
  clang-tidy/cert/CMakeLists.txt
  clang-tidy/cert/DontModifyStdNamespaceCheck.cpp
  clang-tidy/cert/DontModifyStdNamespaceCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/cert-dcl58-cpp.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/Inputs/Headers/system.h
  test/clang-tidy/cert-dcl58-cpp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23421.88541.patch
Type: text/x-patch
Size: 8434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170215/c0ea607b/attachment.bin>


More information about the cfe-commits mailing list