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 D56025
[clang-tidy] add IgnoreMacros option to readability-uppercase-literal-suffix ClosedPublic Authored by vmiklos on Dec 21 2018, 2:19 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 provided by the system, so there is no easy way to modify it.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Dec 24 2018, 2:33 AM Closed by commit rL350056: [clang-tidy] add IgnoreMacros option to readability-uppercase-literal-suffix (authored by vmiklos). · Explain WhyDec 24 2018, 9:50 AM This revision was automatically updated to reflect the committed changes. vmiklos marked an inline comment as done. Comment Actions
Yes, thanks. Committed now.
Revision Contents
Diff 179476 clang-tools-extra/trunk/clang-tidy/readability/UppercaseLiteralSuffixCheck.h
clang-tools-extra/trunk/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
clang-tools-extra/trunk/docs/ReleaseNotes.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/readability-uppercase-literal-suffix.rst
clang-tools-extra/trunk/test/clang-tidy/readability-uppercase-literal-suffix-integer-macro.cpp
clang-tools-extra/trunk/test/clang-tidy/readability-uppercase-literal-suffix-integer.cpp
|