[clang-tools-extra] [clang-tidy] Update google todo checker with style guide changes. (PR #165565)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 2 03:51:32 PST 2025


================
@@ -9,3 +9,14 @@ The relevant style guide section is
 https://google.github.io/styleguide/cppguide.html#TODO_Comments.
 
 Corresponding cpplint.py check: `readability/todo`
+
+Options
+-------
+
+.. option:: Style
+
+   A string specifying the TODO style for fix-it hints. Accepted values are
+   `Hyphen` and `Parentheses`. Default is `Hyphen`.
----------------
vbvictor wrote:

I'd want to `Parentheses` to be default for consistency with existing configuration.

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


More information about the cfe-commits mailing list