18 static llvm::SmallSet<SmallString<32>, 8> CustomCheckNames{};
21 for (
const SmallString<32> &Name : CustomCheckNames)
25 SmallString<32> Name = StringRef{
"custom-" + V.Name};
29 return std::make_unique<custom::QueryCheck>(Name, V, Context);
31 CustomCheckNames.insert(std::move(Name));
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.