aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/ClangTidy.h
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-08-06 11:49:10 +0000
committerAlexander Kornienko <alexfh@google.com>2014-08-06 11:49:10 +0000
commitab1e044a0e0957d4068acf6fc3cd8167d405ba1f (patch)
tree75fda85ecf703302aae17adabd9f823199c7c4af /clang-tidy/ClangTidy.h
parent354b45f51e13f88b3f603edfcdb8c9690b2bcef3 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@214961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/ClangTidy.h')
-rw-r--r--clang-tidy/ClangTidy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tidy/ClangTidy.h b/clang-tidy/ClangTidy.h
index 8b181fc8..005f92e5 100644
--- a/clang-tidy/ClangTidy.h
+++ b/clang-tidy/ClangTidy.h
@@ -103,11 +103,11 @@ public:
StringRef File);
/// \brief Get the list of enabled checks.
- std::vector<std::string> getCheckNames(ChecksFilter &Filter);
+ std::vector<std::string> getCheckNames(GlobList &Filter);
private:
typedef std::vector<std::pair<std::string, bool> > CheckersList;
- CheckersList getCheckersControlList(ChecksFilter &Filter);
+ CheckersList getCheckersControlList(GlobList &Filter);
ClangTidyContext &Context;
std::unique_ptr<ClangTidyCheckFactories> CheckFactories;