clang-tools 22.0.0git
|
Finds TODO comments without a username or bug number. More...
#include <TodoCommentCheck.h>
Classes | |
class | TodoCommentHandler |
Public Member Functions | |
TodoCommentCheck (StringRef Name, ClangTidyContext *Context) | |
~TodoCommentCheck () | |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override |
Finds TODO comments without a username or bug number.
Corresponding cpplint.py check: 'readability/todo'
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/google/readability-todo.html
Definition at line 22 of file TodoCommentCheck.h.
clang::tidy::google::readability::TodoCommentCheck::TodoCommentCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 51 of file TodoCommentCheck.cpp.
Referenced by clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler::TodoCommentHandler().
|
default |
|
override |
Definition at line 58 of file TodoCommentCheck.cpp.