summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp b/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp
index 7df66684e29..f10f708055a 100644
--- a/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp
+++ b/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp
@@ -23,7 +23,8 @@ namespace utils {
// can only run on one test case (e.g. wih one SourceManager).
class InsertUsingCheck : public clang::tidy::ClangTidyCheck {
public:
- using clang::tidy::ClangTidyCheck::ClangTidyCheck;
+ InsertUsingCheck(StringRef Name, ClangTidyContext *Context)
+ :ClangTidyCheck(Name, Context) {}
void registerMatchers(clang::ast_matchers::MatchFinder *Finder) override {
Finder->addMatcher(clang::ast_matchers::callExpr().bind("foo"), this);
}
OpenPOWER on IntegriCloud