[PATCH] D150872: [clang-tidy] Add support for new TODO style to google-readability-todo
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 18 07:47:21 PDT 2023
ymandel created this revision.
ymandel added a reviewer: sammccall.
Herald added subscribers: PiotrZSL, carlosgalvezp, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
ymandel requested review of this revision.
Herald added a project: clang-tools-extra.
Google style is changing to encourage a different (and more common) form of
TODO, specifically: `TODO: link - description`. This patch adds support for the
new style, while maintaining backwards compatability with the old style. The
patch adds a configuration option to the check to control which style (V1 or V2)
is checked.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150872
Files:
clang-tools-extra/clang-tidy/google/TodoCommentCheck.cpp
clang-tools-extra/clang-tidy/google/TodoCommentCheck.h
clang-tools-extra/docs/clang-tidy/checks/google/readability-todo.rst
clang-tools-extra/test/clang-tidy/checkers/google/readability-todo-v2.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150872.523380.patch
Type: text/x-patch
Size: 6353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230518/69f3ed7a/attachment.bin>
More information about the cfe-commits
mailing list