[all-commits] [llvm/llvm-project] a563ce: [clang-tidy] Implement cppcoreguidelines CP.52

Chris Cotter via All-commits all-commits at lists.llvm.org
Fri Aug 11 00:14:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a563ced78bb4bda31babb85e88a89b49ffd61a90
      https://github.com/llvm/llvm-project/commit/a563ced78bb4bda31babb85e88a89b49ffd61a90
  Author: Chris Cotter <ccotter14 at bloomberg.net>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
    A clang-tools-extra/clang-tidy/cppcoreguidelines/NoSuspendWithLockCheck.cpp
    A clang-tools-extra/clang-tidy/cppcoreguidelines/NoSuspendWithLockCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/no-suspend-with-lock.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/no-suspend-with-lock.cpp

  Log Message:
  -----------
  [clang-tidy] Implement cppcoreguidelines CP.52

Flag code that suspends a coroutine while a lock is held.

Reviewed By: PiotrZSL

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




More information about the All-commits mailing list