[PATCH] D91055: [clang-tidy] Introduce misc No Integer To Pointer Cast check

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 11:53:15 PST 2020


lebedev.ri updated this revision to Diff 309976.
lebedev.ri marked an inline comment as done.
lebedev.ri added a comment.

@aaron.ballman thank you for taking a look!
Addressing review notes:

- s/inttoptr/int-to-ptr/
- Adjust diagnostic to be more descriptive of the problem


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91055/new/

https://reviews.llvm.org/D91055

Files:
  clang-tools-extra/clang-tidy/performance/CMakeLists.txt
  clang-tools-extra/clang-tidy/performance/NoIntToPtrCheck.cpp
  clang-tools-extra/clang-tidy/performance/NoIntToPtrCheck.h
  clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/docs/clang-tidy/checks/performance-no-int-to-ptr.rst
  clang-tools-extra/test/clang-tidy/checkers/performance-no-int-to-ptr.c
  clang-tools-extra/test/clang-tidy/checkers/performance-no-int-to-ptr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91055.309976.patch
Type: text/x-patch
Size: 12193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201207/b7098ec7/attachment.bin>


More information about the llvm-commits mailing list