[PATCH] D37808: [clang-tidy] Add new hicpp-multiway-paths-covered check for missing branches

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 13 08:02:46 PDT 2017


JonasToth updated this revision to Diff 118911.
JonasToth added a comment.

ping: I don't understand the lack of feedback. This check should not be a frontend warning,
since it warns for perfectly valid code. It is supposed to give stronger guarantees
for developers requiring this.

- rebased to master


https://reviews.llvm.org/D37808

Files:
  clang-tidy/hicpp/CMakeLists.txt
  clang-tidy/hicpp/HICPPTidyModule.cpp
  clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp
  clang-tidy/hicpp/MultiwayPathsCoveredCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/hicpp-multiway-paths-covered.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/hicpp-multiway-paths-covered-else.cpp
  test/clang-tidy/hicpp-multiway-paths-covered.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37808.118911.patch
Type: text/x-patch
Size: 24294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171013/940703ed/attachment-0001.bin>


More information about the cfe-commits mailing list