forked from OSchip/llvm-project
[clang-tidy] Remove redundant quote in add_new_check script
Summary: Remove redundant quote. These quotes were added here: http://reviews.llvm.org/D20766 Reviewers: bkramer Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20792 llvm-svn: 271210
This commit is contained in:
parent
64f6c6644e
commit
6885229cb8
|
@ -137,7 +137,7 @@ void %(check_name)s::check(const MatchFinder::MatchResult &Result) {
|
|||
const auto *MatchedDecl = Result.Nodes.getNodeAs<FunctionDecl>("x");
|
||||
if (MatchedDecl->getName().startswith("awesome_"))
|
||||
return;
|
||||
diag(MatchedDecl->getLocation(), "function '%%0' is insufficiently awesome")
|
||||
diag(MatchedDecl->getLocation(), "function %%0 is insufficiently awesome")
|
||||
<< MatchedDecl
|
||||
<< FixItHint::CreateInsertion(MatchedDecl->getLocation(), "awesome_");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue