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

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 1 17:51:05 PDT 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`.
----------------
HerrCai0907 wrote:

what should be the default value could be a good question.

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


More information about the cfe-commits mailing list