summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2016-10-17 10:05:25 +0000
committerHaojian Wu <hokein@google.com>2016-10-17 10:05:25 +0000
commitbd31488083f3d3db2603464026853d528cfdc07e (patch)
treeb7b37faf837ebac582250c67cd1afb7801b6fe03 /clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp
parent71f3c1921a8c56123d74f65e62b0c736297ad0fa (diff)
downloadbcm5719-llvm-bd31488083f3d3db2603464026853d528cfdc07e.tar.gz
bcm5719-llvm-bd31488083f3d3db2603464026853d528cfdc07e.zip
Fix windows buildbot error.
llvm-svn: 284370
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