clang-tools 19.0.0git
Public Attributes | List of all members
clang::tidy::RenamerClangTidyCheck::DiagInfo Struct Reference

Represents customized diagnostic text and how arguments should be applied. More...

#include <RenamerClangTidyCheck.h>

Public Attributes

std::string Text
 
llvm::unique_function< void(DiagnosticBuilder &)> ApplyArgs
 

Detailed Description

Represents customized diagnostic text and how arguments should be applied.

Example usage:

return DiagInfo{"my %1 very %2 special %3 text", [=](DiagnosticBuilder &diag) { diag << arg1 << arg2 << arg3; }};

Definition at line 148 of file RenamerClangTidyCheck.h.

Member Data Documentation

◆ ApplyArgs

llvm::unique_function<void(DiagnosticBuilder &)> clang::tidy::RenamerClangTidyCheck::DiagInfo::ApplyArgs

◆ Text

std::string clang::tidy::RenamerClangTidyCheck::DiagInfo::Text

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