[PATCH] D42682: [clang-tidy] Add misc-io-functions-misused checker
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 3 00:08:07 PDT 2018
hgabii updated this revision to Diff 153863.
hgabii added a comment.
Sorry, I forgot about my pull request.
I fixed the issues what are identified by reviewers :
- Check moved to bugprone module
- () and `` added
- matchesName replaced with hasAnyName
-Unnecessary IDs depracated
- clang-tidy/misc/IoFunctionsMisusedCheck.h:19: "s/checker/check/" => Fixed all places
- Formatting fixed
Only thing left is to match all IO functions, not just the wide versions.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42682
Files:
clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tidy/bugprone/CMakeLists.txt
clang-tidy/bugprone/IoFunctionsMisusedCheck.cpp
clang-tidy/bugprone/IoFunctionsMisusedCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/bugprone-io-functions-misused.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/bugprone-io-functions-misused.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42682.153863.patch
Type: text/x-patch
Size: 10340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180703/eb41efe7/attachment.bin>
More information about the cfe-commits
mailing list