[PATCH] D40715: [analyser] different.LabelInsideSwitch checker implementation

Alexey Knyshev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 04:23:58 PST 2017


alexey.knyshev created this revision.
alexey.knyshev added a project: clang.
Herald added subscribers: cfe-commits, mgorny.

Implementation of checker "different.LabelInsideSwitch" from potential checkers list (https://clang-analyzer.llvm.org/potential_checkers.html#different)


Repository:
  rC Clang

https://reviews.llvm.org/D40715

Files:
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/LabelInsideSwitchChecker.cpp
  test/Analysis/label-inside-switch.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40715.125108.patch
Type: text/x-patch
Size: 6535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171201/4c436fa5/attachment.bin>


More information about the cfe-commits mailing list