[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 Jan 30 03:14:37 PST 2018
hgabii created this revision.
hgabii added a reviewer: clang-tools-extra.
hgabii added a project: clang-tools-extra.
Herald added subscribers: cfe-commits, hintonda, mgorny, srhines.
Add misc-io-functions-misused checker to warns for cases when the return value of certain standard iostream C functions (fgetwc, getwc, getwchar, istream::get()) return int value which is then incorrectly stored in char typed values.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42682
Files:
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/IoFunctionsMisusedCheck.cpp
clang-tidy/misc/IoFunctionsMisusedCheck.h
clang-tidy/misc/MiscTidyModule.cpp
docs/ReleaseNotes.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-io-functions-misused.rst
test/clang-tidy/misc-io-functions-misused.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42682.131940.patch
Type: text/x-patch
Size: 11199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180130/2230d8f7/attachment.bin>
More information about the cfe-commits
mailing list