[PATCH] D55433: [clang-tidy] Adding a new modernize use nodiscard checker
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 10 02:04:36 PST 2018
MyDeveloperDay updated this revision to Diff 177474.
MyDeveloperDay marked 11 inline comments as done.
MyDeveloperDay added a comment.
- Addressing review comments and concerns
- Removed internal function logic and option, not really the role of this checker
- Fixed grammatical error in documentation
- enabled fix-it check in unit tests for already present [[nodiscard]] by using escaping which allowed use of [[]] in CHECK-FIXES
- minor clang format issue
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55433/new/
https://reviews.llvm.org/D55433
Files:
clang-tidy/modernize/CMakeLists.txt
clang-tidy/modernize/ModernizeTidyModule.cpp
clang-tidy/modernize/UseNodiscardCheck.cpp
clang-tidy/modernize/UseNodiscardCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/modernize-use-nodiscard.rst
test/clang-tidy/modernize-use-nodiscard.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55433.177474.patch
Type: text/x-patch
Size: 17238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181210/7b9bc755/attachment-0001.bin>
More information about the cfe-commits
mailing list