[all-commits] [llvm/llvm-project] b0b491: [clang-tidy] Fix handling of functional cast in go...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Sun Jan 21 04:46:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0b491d458962136c696366b8cf535d54511baf3
      https://github.com/llvm/llvm-project/commit/b0b491d458962136c696366b8cf535d54511baf3
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp
    M clang-tools-extra/clang-tidy/google/AvoidCStyleCastsCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/google/readability-casting.cpp

  Log Message:
  -----------
  [clang-tidy] Fix handling of functional cast in google-readability-casting (#71650)

Fix issue with constructor call being interpreted as functional cast and
considered for a replacement
with static cast or being removed as redundant.

Closes #57959




More information about the All-commits mailing list