[all-commits] [llvm/llvm-project] 3f64c0: [clang-tidy] Fix readability-avoid-const-params-in...

Da-Viper via All-commits all-commits at lists.llvm.org
Sun Oct 29 07:17:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f64c0fc48c5b2efc5b9ba11351647d515f23418
      https://github.com/llvm/llvm-project/commit/3f64c0fc48c5b2efc5b9ba11351647d515f23418
  Author: Da-Viper <57949090+Da-Viper at users.noreply.github.com>
  Date:   2023-10-29 (Sun, 29 Oct 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/avoid-const-params-in-decls.cpp

  Log Message:
  -----------
  [clang-tidy] Fix readability-avoid-const-params-in-decls - point to the correct const location (#69103)

Fixes the warning marker for redundant const from beginning of variable
to actual location of const. 

Fixes #68492




More information about the All-commits mailing list