[PATCH] D97361: [clang-tidy] Add readability-redundant-using check
Yang Fan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 6 23:20:37 PST 2021
nullptr.cpp updated this revision to Diff 328841.
nullptr.cpp added a comment.
- Restrict to only run on C++ code
- Ignore `using` defined in macro
- Support inline namespace
- Support global namespace
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97361/new/
https://reviews.llvm.org/D97361
Files:
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tools-extra/clang-tidy/readability/RedundantUsingCheck.cpp
clang-tools-extra/clang-tidy/readability/RedundantUsingCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/readability-redundant-using.rst
clang-tools-extra/test/clang-tidy/checkers/readability-redundant-using.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97361.328841.patch
Type: text/x-patch
Size: 16983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210307/21867618/attachment-0001.bin>
More information about the cfe-commits
mailing list