[PATCH] D20792: [clang-tidy] Remove redundant quote in add_new_check script
Etienne Bergeron via cfe-commits
cfe-commits at lists.llvm.org
Mon May 30 08:46:37 PDT 2016
etienneb updated this revision to Diff 58969.
etienneb added a comment.
nits
http://reviews.llvm.org/D20792
Files:
clang-tidy/add_new_check.py
Index: clang-tidy/add_new_check.py
===================================================================
--- clang-tidy/add_new_check.py
+++ clang-tidy/add_new_check.py
@@ -137,7 +137,7 @@
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_");
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20792.58969.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160530/1d774f76/attachment.bin>
More information about the cfe-commits
mailing list