clang-tools 19.0.0git
Public Member Functions | List of all members
clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler Class Reference
Inheritance diagram for clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler:
Inheritance graph
[legend]

Public Member Functions

 TodoCommentHandler (TodoCommentCheck &Check, std::optional< std::string > User)
 
bool HandleComment (Preprocessor &PP, SourceRange Range) override
 

Detailed Description

Definition at line 16 of file TodoCommentCheck.cpp.

Constructor & Destructor Documentation

◆ TodoCommentHandler()

clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler::TodoCommentHandler ( TodoCommentCheck Check,
std::optional< std::string >  User 
)
inline

Definition at line 18 of file TodoCommentCheck.cpp.

Member Function Documentation

◆ HandleComment()

bool clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler::HandleComment ( Preprocessor &  PP,
SourceRange  Range 
)
inlineoverride

Definition at line 22 of file TodoCommentCheck.cpp.

References clang::tidy::ClangTidyCheck::diag(), Range, and Text.


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