[PATCH] D93822: [clang-tidy] Add check for implicit widening of multiplication result
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 25 11:01:52 PDT 2021
lebedev.ri updated this revision to Diff 333357.
lebedev.ri retitled this revision from "[clang][Sema] Add diagnostics for implicit widening of multiplication result" to "[clang-tidy] Add check for implicit widening of multiplication result".
lebedev.ri edited the summary of this revision.
lebedev.ri edited reviewers, added: njames93; removed: rsmith, rjmccall, erichkeane, dblaikie.
lebedev.ri added a project: clang-tools-extra.
lebedev.ri added a comment.
Herald added subscribers: xazax.hun, mgorny.
Hmm. I kinda dropped the ball here.
As discussed, move it into a clang-tidy check.
Looks good now?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93822/new/
https://reviews.llvm.org/D93822
Files:
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
clang-tools-extra/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.cpp
clang-tools-extra/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-implicit-widening-of-multiplication-result.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-array-subscript-expression.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-pointer-offset.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result.cpp
clang/include/clang/AST/ASTContext.h
clang/lib/AST/ASTContext.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93822.333357.patch
Type: text/x-patch
Size: 31272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210325/7fa42ecc/attachment.bin>
More information about the llvm-commits
mailing list