[PATCH] D53454: [clang-tidy] add IgnoreMacros option to eadability-redundant-smartptr-get

Miklos Vajna via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 19 14:43:47 PDT 2018


vmiklos created this revision.
vmiklos added reviewers: alexfh, sbenza.
Herald added subscribers: cfe-commits, xazax.hun.

And also enable it by default to be consistent with e.g. modernize-use-using.

      

This helps e.g. when running this check on client code where the macro is
provided by the system, so there is no easy way to modify it.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53454

Files:
  clang-tidy/readability/RedundantSmartptrGetCheck.cpp
  clang-tidy/readability/RedundantSmartptrGetCheck.h
  docs/clang-tidy/checks/readability-redundant-smartptr-get.rst
  test/clang-tidy/readability-redundant-smartptr-get-macros.cpp
  test/clang-tidy/readability-redundant-smartptr-get.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53454.170256.patch
Type: text/x-patch
Size: 3844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181019/96d1217e/attachment.bin>


More information about the cfe-commits mailing list