[all-commits] [llvm/llvm-project] cc7ed0: [clang-tidy] bugprone-signal-handler: Message impr...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Apr 7 00:40:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc7ed0caaca58bb38c789dcf2e0aade5f68f1e02
      https://github.com/llvm/llvm-project/commit/cc7ed0caaca58bb38c789dcf2e0aade5f68f1e02
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler-minimal.c
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler-posix.c
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler.c

  Log Message:
  -----------
  [clang-tidy] bugprone-signal-handler: Message improvement and code refactoring.

Another change of the code design.
Code simplified again, now there is a single place to check
a handler function and less functions for bug report emitting.
More details are added to the bug report messages.

Reviewed By: whisperity

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




More information about the All-commits mailing list