23 lines · plain
1.. title:: clang-tidy - google-readability-todo2 3google-readability-todo4=======================5 6Finds TODO comments without a username or bug number.7 8The relevant style guide section is9https://google.github.io/styleguide/cppguide.html#TODO_Comments.10 11Corresponding cpplint.py check: `readability/todo`12 13Options14-------15 16.. option:: Style17 18 A string specifying the TODO style for fix-it hints. Accepted values are19 `Hyphen` and `Parentheses`. Default is `Hyphen`.20 21 * `Hyphen` will format the fix-it as: ``// TODO: username - details``.22 * `Parentheses` will format the fix-it as: ``// TODO(username): details``.23