[all-commits] [llvm/llvm-project] 00eb22: added option `google-readability-namespace-comment...

Thorsten Klein via All-commits all-commits at lists.llvm.org
Sun Jun 8 03:20:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00eb22fff99559cc97fc9b24a9dbe86b89e9beae
      https://github.com/llvm/llvm-project/commit/00eb22fff99559cc97fc9b24a9dbe86b89e9beae
  Author: Thorsten Klein <kleinkastel at googlemail.com>
  Date:   2025-06-08 (Sun, 08 Jun 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp
    M clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/llvm/namespace-comment.rst
    A clang-tools-extra/test/clang-tidy/checkers/google/readability-namespace-comments-missing-nested-namespaces.cpp
    A clang-tools-extra/test/clang-tidy/checkers/google/readability-namespace-comments-missing.cpp

  Log Message:
  -----------
  added option `google-readability-namespace-comments.AllowNoNamespaceComments` (#124265)

New option AllowNoNamespaceComments for
`google-readability-namespace-comments.AllowNoNamespaceComments` is
added.

When true, the check will allow that no namespace comment is present. If
a namespace comment is added but it is not matching, the check will
fail. Default is `false`

Fixes #124264



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