clang-tools 22.0.0git
clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler Class Reference
Inheritance diagram for clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler:
[legend]

Public Member Functions

 TodoCommentHandler (TodoCommentCheck &Check, std::optional< std::string > User)
bool HandleComment (Preprocessor &PP, SourceRange Range) override
std::string createReplacementString (const StringRef Username, const StringRef Comment) const
StyleKind getTodoStyle () const

Detailed Description

Definition at line 37 of file TodoCommentCheck.cpp.

Constructor & Destructor Documentation

◆ TodoCommentHandler()

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

Member Function Documentation

◆ createReplacementString()

std::string clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler::createReplacementString ( const StringRef Username,
const StringRef Comment ) const
inline

Definition at line 91 of file TodoCommentCheck.cpp.

References clang::tidy::google::readability::Parentheses.

Referenced by HandleComment().

◆ getTodoStyle()

StyleKind clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler::getTodoStyle ( ) const
inline

Definition at line 103 of file TodoCommentCheck.cpp.

◆ HandleComment()

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

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