[all-commits] [llvm/llvm-project] f181df: Add -misc-const-correctness to .clang-tidy

aeubanks via All-commits all-commits at lists.llvm.org
Mon Aug 8 13:01:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f181dff0846c2236f72e3f13a819bb0c968ccfb8
      https://github.com/llvm/llvm-project/commit/f181dff0846c2236f72e3f13a819bb0c968ccfb8
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M .clang-tidy

  Log Message:
  -----------
  Add -misc-const-correctness to .clang-tidy

I keep getting suggestions from clangd to add 'const' to a bunch of local variables, which is not LLVM's style. This suppresses those.

Reviewed By: kadircet, aaron.ballman

Differential Revision: https://reviews.llvm.org/D131414




More information about the All-commits mailing list