summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h')
-rw-r--r--clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h b/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h
index 940abb63649..5b0d001badf 100644
--- a/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h
+++ b/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h
@@ -22,6 +22,8 @@ namespace build {
/// Corresponding cpplint.py check name: 'build/namespaces'.
class UsingNamespaceDirectiveCheck : public ClangTidyCheck {
public:
+ UsingNamespaceDirectiveCheck(StringRef Name, ClangTidyContext *Context)
+ : ClangTidyCheck(Name, Context) {}
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
};
OpenPOWER on IntegriCloud