[clang-tools-extra] added option `google-readability-namespace-comments.AllowNoNamespaceComments` (PR #124265)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 5 06:35:04 PDT 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:: AllowOmittingNamespaceComments
+
+ When `true`, the check will accept if no namespace comment is present.
+ The check will only fail if the specified namespace comment is different
+ than expected. Default is `false`.
+
----------------
EugeneZelenko wrote:
Excessive newline. Sorry, somehow code suggestion was not applied to two lines.
https://github.com/llvm/llvm-project/pull/124265
More information about the cfe-commits
mailing list