[PATCH] D157188: [clang-tidy] Add bugprone-allocation-bool-conversion

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 9 03:52:29 PDT 2023


PiotrZSL updated this revision to Diff 548554.
PiotrZSL marked an inline comment as done.
PiotrZSL added a comment.

Rebase, add support for integer returnign functions, fixes in tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157188

Files:
  clang-tools-extra/clang-tidy/bugprone/AllocationBoolConversionCheck.cpp
  clang-tools-extra/clang-tidy/bugprone/AllocationBoolConversionCheck.h
  clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
  clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/bugprone/allocation-bool-conversion.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/test/clang-tidy/checkers/bugprone/allocation-bool-conversion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157188.548554.patch
Type: text/x-patch
Size: 24431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230809/872ed434/attachment-0001.bin>


More information about the cfe-commits mailing list