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.
Paths
| Differential D53454
[clang-tidy] add IgnoreMacros option to eadability-redundant-smartptr-get ClosedPublic Authored by vmiklos on Oct 19 2018, 2:43 PM.
Details
Summary 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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 21 2018, 11:47 AM Comment Actions
Sure, I will do that. Closed by commit rL344871: [clang-tidy] add IgnoreMacros option to readability-redundant-smartptr-get (authored by vmiklos). · Explain WhyOct 21 2018, 12:19 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 170347 clang-tools-extra/trunk/clang-tidy/readability/RedundantSmartptrGetCheck.h
clang-tools-extra/trunk/clang-tidy/readability/RedundantSmartptrGetCheck.cpp
clang-tools-extra/trunk/docs/ReleaseNotes.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/readability-redundant-smartptr-get.rst
clang-tools-extra/trunk/test/clang-tidy/readability-redundant-smartptr-get-macros.cpp
clang-tools-extra/trunk/test/clang-tidy/readability-redundant-smartptr-get.cpp
|