[all-commits] [llvm/llvm-project] 0e2c5c: [clang-tidy] Improve cppcoreguidelines-avoid-refer...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Thu Aug 24 14:49:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e2c5cda3cc713cac2cae651554fc070788760a6
      https://github.com/llvm/llvm-project/commit/0e2c5cda3cc713cac2cae651554fc070788760a6
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-reference-coroutine-parameters.cpp

  Log Message:
  -----------
  [clang-tidy] Improve cppcoreguidelines-avoid-reference-coroutine-parameters check

Ignore false positives related to matching parameters of non
coroutine functions and increase issue detection for cases
involving type aliases with references.

Fixes: #64915

Reviewed By: ccotter

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




More information about the All-commits mailing list