[all-commits] [llvm/llvm-project] 517c67: [clang-tidy] Add check on constexpr & static value...

David Rivera via All-commits all-commits at lists.llvm.org
Tue Mar 11 10:01:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 517c6778ead6e7c476e0f4482763060c679ee80b
      https://github.com/llvm/llvm-project/commit/517c6778ead6e7c476e0f4482763060c679ee80b
  Author: David Rivera <davidriverg at gmail.com>
  Date:   2025-03-11 (Tue, 11 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] Add check on constexpr & static values in modernize-use-default-member-init (#129425)

This aims to fix a portion of #122480. Simply added a check to look for
either compile time initialized variables or static stored variables.



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