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 5bb2c6c commit c6e485eCopy full SHA for c6e485e
clang-tools-extra/clang-tidy/custom/CustomTidyModule.cpp
@@ -16,8 +16,8 @@ class CustomModule : public ClangTidyModule {
16
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {}
17
};
18
19
-// FIXME: could be clearer to add parameter of addCheckFactories to pass
20
-// Options?
+// We need to register the checks more flexibly than builtin modules. The checks
+// will changed dynamically when switching to different source file.
21
extern void registerCustomChecks(ClangTidyOptions const &Options,
22
ClangTidyCheckFactories &Factories) {
23
static llvm::SmallSet<llvm::SmallString<32>, 8> CustomCheckNames{};
0 commit comments