[all-commits] [llvm/llvm-project] 26c99c: [clang-tidy] fix misc-const-correctness to work wi...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Tue Jul 23 00:46:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26c99c421794902b0d929fd9eff81314da55675c
      https://github.com/llvm/llvm-project/commit/26c99c421794902b0d929fd9eff81314da55675c
  Author: Thomas Schenker <thomas.schenker at protonmail.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

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

  Log Message:
  -----------
  [clang-tidy] fix misc-const-correctness to work with function-try-blocks (#99925)

Make the clang-tidy check misc-const-correctness work with
function-try-blocks.

Fixes #99860.


  Commit: 2dd82c5ac56623d38de977ef027b252b4908e4c5
      https://github.com/llvm/llvm-project/commit/2dd82c5ac56623d38de977ef027b252b4908e4c5
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

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

  Log Message:
  -----------
  [clang-tidy][NFC] Added -fexceptions to const-correctness-values.cp

Related to #99925.


Compare: https://github.com/llvm/llvm-project/compare/2de1333af9a7...2dd82c5ac566

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