summaryrefslogtreecommitdiff
path: root/src/mongo/tools/mongo_tidy_checks/MongoTestCheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/tools/mongo_tidy_checks/MongoTestCheck.h')
-rw-r--r--src/mongo/tools/mongo_tidy_checks/MongoTestCheck.h24
1 files changed, 10 insertions, 14 deletions
diff --git a/src/mongo/tools/mongo_tidy_checks/MongoTestCheck.h b/src/mongo/tools/mongo_tidy_checks/MongoTestCheck.h
index af1dbca4684..1a79b7519e0 100644
--- a/src/mongo/tools/mongo_tidy_checks/MongoTestCheck.h
+++ b/src/mongo/tools/mongo_tidy_checks/MongoTestCheck.h
@@ -26,28 +26,24 @@
* exception statement from all source files in the program, then also delete
* it in the license file.
*/
-#pragma once
-#include "clang-tidy/ClangTidy.h"
-#include "clang-tidy/ClangTidyCheck.h"
-#include "clang/AST/ASTContext.h"
-#include "clang/ASTMatchers/ASTMatchFinder.h"
-using namespace clang;
-using namespace clang::tidy;
-using namespace clang::ast_matchers;
+#pragma once
+
+#include <clang-tidy/ClangTidy.h>
+#include <clang-tidy/ClangTidyCheck.h>
+#include <clang/AST/ASTContext.h>
+#include <clang/ASTMatchers/ASTMatchFinder.h>
namespace mongo {
namespace tidy {
-class MongoTestCheck : public ClangTidyCheck {
+class MongoTestCheck : public clang::tidy::ClangTidyCheck {
public:
- MongoTestCheck(StringRef Name, ClangTidyContext* Context);
-
- void registerMatchers(ast_matchers::MatchFinder* Finder) override;
-
- void check(const ast_matchers::MatchFinder::MatchResult& Result) override;
+ MongoTestCheck(clang::StringRef Name, clang::tidy::ClangTidyContext* Context);
+ void registerMatchers(clang::ast_matchers::MatchFinder* Finder) override;
+ void check(const clang::ast_matchers::MatchFinder::MatchResult& Result) override;
private:
};