[all-commits] [llvm/llvm-project] a772f7: [clang-tidy] Support C++14 in bugprone-signal-hand...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Wed Aug 10 03:01:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a772f775a2ba401e95a0bbe73deb6300f1dc12c0
      https://github.com/llvm/llvm-project/commit/a772f775a2ba401e95a0bbe73deb6300f1dc12c0
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2022-08-10 (Wed, 10 Aug 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/clang-tidy/cert/CERTTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
    A clang-tools-extra/docs/clang-tidy/checks/cert/msc54-cpp.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/signal.h
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/signal-handler/stdcpp.h
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.c
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.cpp

  Log Message:
  -----------
  [clang-tidy] Support C++14 in bugprone-signal-handler.

Check `bugprone-signal-handler` is improved to check for
C++-specific constructs in signal handlers. This check is
valid until C++17.

Reviewed By: whisperity

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




More information about the All-commits mailing list