We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f13b7d0 commit c641dd2Copy full SHA for c641dd2
clang-tools-extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp
@@ -102,7 +102,7 @@ void DefinitionsInHeadersCheck::check(const MatchFinder::MatchResult &Result) {
102
// inline is not allowed for main function.
103
if (FD->isMain())
104
return;
105
- diag(FD->getLocation(), /*Description=*/"make as 'inline'",
+ diag(FD->getLocation(), "mark the definition as 'inline'",
106
DiagnosticIDs::Note)
107
<< FixItHint::CreateInsertion(FD->getInnerLocStart(), "inline ");
108
} else if (const auto *VD = dyn_cast<VarDecl>(ND)) {
0 commit comments