[PATCH] D38455: [clang-tidy] new cppcoreguidelines-narrowing-conversions check.
Clement Courbet via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 19 07:16:04 PDT 2018
courbet updated this revision to Diff 138910.
courbet added a comment.
Herald added a subscriber: cfe-commits.
Do not trigger on `some_int += std::floor(some_float)`;
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D38455
Files:
clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/cppcoreguidelines-narrowing-conversions.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38455.138910.patch
Type: text/x-patch
Size: 8499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180319/ac210677/attachment-0001.bin>
More information about the cfe-commits
mailing list