[all-commits] [llvm/llvm-project] 7fd838: [clang-tidy] Do not warn about redundant static in...

Carlos Galvez via All-commits all-commits at lists.llvm.org
Thu Dec 8 03:41:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fd8387917167d9cb4bab14a8548f0f78b0eaa79
      https://github.com/llvm/llvm-project/commit/7fd8387917167d9cb4bab14a8548f0f78b0eaa79
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.cpp
    M clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h
    M clang-tools-extra/docs/clang-tidy/checks/misc/use-anonymous-namespace.rst
    M clang-tools-extra/test/clang-tidy/checkers/misc/use-anonymous-namespace.cpp

  Log Message:
  -----------
  [clang-tidy] Do not warn about redundant static in misc-use-anonymous-namespace

The same functionality is already implemented in the
readability-static-definition-in-anonymous-namespace
check, including automatic fixes.

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




More information about the All-commits mailing list