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("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_"); } Index: clang-tidy/misc/UnusedUsingDeclsCheck.cpp =================================================================== --- clang-tidy/misc/UnusedUsingDeclsCheck.cpp +++ clang-tidy/misc/UnusedUsingDeclsCheck.cpp @@ -41,11 +41,11 @@ if (const auto *Using = Result.Nodes.getNodeAs("using")) { // Ignores using-declarations defined in macros. if (Using->getLocation().isMacroID()) - return ; + return; // Ignores using-declarations defined in class definition. if (isa(Using->getDeclContext())) - return ; + return; UsingDeclContext Context(Using); Context.UsingDeclRange = CharSourceRange::getCharRange(