Skip to content

Commit c6e485e

Browse files
committed
fix comment
1 parent 5bb2c6c commit c6e485e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/clang-tidy/custom/CustomTidyModule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class CustomModule : public ClangTidyModule {
1616
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {}
1717
};
1818

19-
// FIXME: could be clearer to add parameter of addCheckFactories to pass
20-
// Options?
19+
// We need to register the checks more flexibly than builtin modules. The checks
20+
// will changed dynamically when switching to different source file.
2121
extern void registerCustomChecks(ClangTidyOptions const &Options,
2222
ClangTidyCheckFactories &Factories) {
2323
static llvm::SmallSet<llvm::SmallString<32>, 8> CustomCheckNames{};

0 commit comments

Comments
 (0)