[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 24 10:17:20 PST 2025


================
@@ -39,3 +39,10 @@ Options
 
    An unsigned integer specifying the number of spaces before the comment
    closing a namespace definition. Default is `1U`.
+
+
+.. option:: AllowNoNamespaceComments
+
+   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`.
----------------
vbvictor wrote:

Please, wrap line to 80 characters

https://github.com/llvm/llvm-project/pull/124265


More information about the cfe-commits mailing list