[all-commits] [llvm/llvm-project] 5b5b75: [clang-tidy] Ignore implcit casts in cppcoreguidel...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Sat Jul 22 12:27:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b5b75bfd4d469d56db7980c578214c26288faa9
      https://github.com/llvm/llvm-project/commit/5b5b75bfd4d469d56db7980c578214c26288faa9
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-07-22 (Sat, 22 Jul 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/owning-memory.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore implcit casts in cppcoreguidelines-owning-memory

Add getCheckTraversalKind to the check in order
to ignore some implicit casts when matching
expresions.

Fixes: #63994

Reviewed By: carlosgalvezp

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




More information about the All-commits mailing list