clang-tools 22.0.0git
clang::tidy::google::readability::TodoCommentCheck Class Reference

Finds TODO comments without a username or bug number. More...

#include <TodoCommentCheck.h>

Inheritance diagram for clang::tidy::google::readability::TodoCommentCheck:
[legend]

Classes

class  TodoCommentHandler

Public Member Functions

 TodoCommentCheck (StringRef Name, ClangTidyContext *Context)
 ~TodoCommentCheck ()
void registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override

Detailed Description

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.

Constructor & Destructor Documentation

◆ TodoCommentCheck()

clang::tidy::google::readability::TodoCommentCheck::TodoCommentCheck ( StringRef Name,
ClangTidyContext * Context )

◆ ~TodoCommentCheck()

clang::tidy::google::readability::TodoCommentCheck::~TodoCommentCheck ( )
default

Member Function Documentation

◆ registerPPCallbacks()

void clang::tidy::google::readability::TodoCommentCheck::registerPPCallbacks ( const SourceManager & SM,
Preprocessor * PP,
Preprocessor * ModuleExpanderPP )
override

Definition at line 58 of file TodoCommentCheck.cpp.


The documentation for this class was generated from the following files: