[all-commits] [llvm/llvm-project] f4c26d: [analyzer] Add FuchsiaLockChecker and C11LockChecker

Gábor Horváth via All-commits all-commits at lists.llvm.org
Mon Jan 27 13:57:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4c26d993bdcb8e5250d774c0d2a6d91fee5ca00
      https://github.com/llvm/llvm-project/commit/f4c26d993bdcb8e5250d774c0d2a6d91fee5ca00
  Author: Gabor Horvath <xazax at google.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
    A clang/test/Analysis/c11lock.c
    A clang/test/Analysis/fuchsia_lock.c

  Log Message:
  -----------
  [analyzer] Add FuchsiaLockChecker and C11LockChecker

These are mostly trivial additions as both of them are reusing existing
PThreadLockChecker logic. I only needed to add the list of functions to
check and do some plumbing to make sure that we display the right
checker name in the diagnostic.

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




More information about the All-commits mailing list