[PATCH] D16535: [clang-tidy] Check to find unintended semicolons that changes the semantics.

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 25 08:17:01 PST 2016


xazax.hun created this revision.
xazax.hun added a reviewer: alexfh.
xazax.hun added subscribers: dkrupp, cfe-commits.

This patch adds a checker to find semicolons that are probably unintended and modify the semantics of the program. See the examples and the documentation for more details.

http://reviews.llvm.org/D16535

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/SuspiciousSemicolonCheck.cpp
  clang-tidy/misc/SuspiciousSemicolonCheck.h
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-suspicious-semicolon.rst
  test/clang-tidy/misc-suspicious-semicolon.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16535.45869.patch
Type: text/x-patch
Size: 9957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160125/98d66314/attachment.bin>


More information about the cfe-commits mailing list