[all-commits] [llvm/llvm-project] fefe52: [clang-tidy] ignore local variable with [maybe_unu...

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Feb 12 17:48:41 PST 2024


  Branch: refs/heads/users/ccc/81419-clang-tidy-check-bugprone-unused-local-non-trivial-variable-should-honor-maybe_unused
  Home:   https://github.com/llvm/llvm-project
  Commit: fefe52614837d14858d056783dca8b08745de9d4
      https://github.com/llvm/llvm-project/commit/fefe52614837d14858d056783dca8b08745de9d4
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnusedLocalNonTrivialVariableCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-local-non-trivial-variable.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-local-non-trivial-variable.cpp

  Log Message:
  -----------
  [clang-tidy] ignore local variable with [maybe_unused] attribute in bugprone-unused-local-non-trivial-variable

Fixes: #81419.




More information about the All-commits mailing list