[all-commits] [llvm/llvm-project] c75b22: [analyzer] Introduce common bug category "Unused c...

NoQ via All-commits all-commits at lists.llvm.org
Wed Mar 17 20:58:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c75b2261a0aada6bf7ddd91f91139c6f06a8e367
      https://github.com/llvm/llvm-project/commit/c75b2261a0aada6bf7ddd91f91139c6f06a8e367
  Author: Artem Dergachev <artem.dergachev at gmail.com>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
    M clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
    M clang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp
    M clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist
    M clang/test/Analysis/Inputs/expected-plists/objc-arc.m.plist
    M clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist

  Log Message:
  -----------
  [analyzer] Introduce common bug category "Unused code".

This category is generic enough to hold a variety of checkers.
Currently it contains the Dead Stores checker and an alpha unreachable
code checker.

Differential Revision: https://reviews.llvm.org/D98741




More information about the All-commits mailing list