[all-commits] [llvm/llvm-project] 01e505: [clang-tidy][misc-const-correctness] fix fp when u...

Congcong Cai via All-commits all-commits at lists.llvm.org
Thu Mar 27 15:21:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01e505b9922485514d4e1f9a26c390d0e7a71bf4
      https://github.com/llvm/llvm-project/commit/01e505b9922485514d4e1f9a26c390d0e7a71bf4
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-values.cpp

  Log Message:
  -----------
  [clang-tidy][misc-const-correctness] fix fp when using const array type. (#133018)

Fixed: #132931
const array is immutable in C/C++ language design, we don't need to
check constness for it.



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