diff options
author | Alexander Kornienko <alexfh@google.com> | 2014-08-06 11:49:10 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2014-08-06 11:49:10 +0000 |
commit | b3d331d18dbfdfb356b234077bc0bf14a0fdea14 (patch) | |
tree | 9cbbf1ec16f66fd95e0d44d8b7407ffe91a3962f /clang-tools-extra/clang-tidy/ClangTidyModule.h | |
parent | a11da0c8cd79cf3945427870c95f0011da990956 (diff) | |
download | bcm5719-llvm-b3d331d18dbfdfb356b234077bc0bf14a0fdea14.tar.gz bcm5719-llvm-b3d331d18dbfdfb356b234077bc0bf14a0fdea14.zip |
Rename ChecksFilter to GlobList, as there's nothing specific to checks in it.
Summary:
Rename ChecksFilter to GlobList, as there's nothing specific to checks in it.
It's a rather generic way to represent sets of strings (or patterns), so it may
be used for something else in ClangTidy. The new name would not look strange
when used to filter other entities.
Reviewers: klimek
Reviewed By: klimek
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D4806
llvm-svn: 214961
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidyModule.h')
-rw-r--r-- | clang-tools-extra/clang-tidy/ClangTidyModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/ClangTidyModule.h b/clang-tools-extra/clang-tidy/ClangTidyModule.h index 625be7aa482..c9c51438a00 100644 --- a/clang-tools-extra/clang-tidy/ClangTidyModule.h +++ b/clang-tools-extra/clang-tidy/ClangTidyModule.h @@ -86,7 +86,7 @@ public: /// store them in \p Checks. /// /// The caller takes ownership of the return \c ClangTidyChecks. - void createChecks(ChecksFilter &Filter, + void createChecks(GlobList &Filter, std::vector<std::unique_ptr<ClangTidyCheck>> &Checks); typedef std::map<std::string, CheckFactoryBase *> FactoryMap; |