[all-commits] [llvm/llvm-project] 54178f: [clang-tidy] add check for capturing lambda corout...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Mar 10 06:07:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54178fc6161a5856bea608dce0d726787a3b71c3
      https://github.com/llvm/llvm-project/commit/54178fc6161a5856bea608dce0d726787a3b71c3
  Author: Noah Watkins <noah at redpanda.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    A clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.cpp
    A clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-capturing-lambda-coroutines.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-capturing-lambda-coroutines.cpp

  Log Message:
  -----------
  [clang-tidy] add check for capturing lambda coroutines

Signed-off-by: Noah Watkins <noah at redpanda.com>

Reviewed By: ChuanqiXu

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


  Commit: 17d403f6644337e3e099e6dcb7b057fce11e65a5
      https://github.com/llvm/llvm-project/commit/17d403f6644337e3e099e6dcb7b057fce11e65a5
  Author: Piotr Zegar <piotr.zegar at nokia.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-capturing-lambda-coroutines.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/Inputs/system/coroutines.h
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-capturing-lambda-coroutines.cpp

  Log Message:
  -----------
  [clang-tidy] Finish cppcoreguidelines-avoid-capturing-lambda-coroutines check

This commit implements check for CP.51 C++ Core Guidelines

Depends on D137514

Reviewed By: ChuanqiXu

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


Compare: https://github.com/llvm/llvm-project/compare/c6b12b7c3bc8...17d403f66443


More information about the All-commits mailing list