[all-commits] [llvm/llvm-project] 5e65b4: [clang-tidy] detect explicit casting within modern...

David Rivera via All-commits all-commits at lists.llvm.org
Sat Mar 15 15:15:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e65b40f9c0fd9fc9bc17c36dbd5ee1beec15d4f
      https://github.com/llvm/llvm-project/commit/5e65b40f9c0fd9fc9bc17c36dbd5ee1beec15d4f
  Author: David Rivera <davidriverg at gmail.com>
  Date:   2025-03-15 (Sat, 15 Mar 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-default-member-init.cpp

  Log Message:
  -----------
  [clang-tidy] detect explicit casting within modernize-use-default-member-init (#129408)

This aims to fix a portion of #122480. Added some matchers to detect
explicit casting which utilize builtin types as its source expression.
these are the various forms of casting supported I thought would useful
for this check:

- C Style explicit casting
- Static explicit casting
- Functional explicit casting



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list