diff options
Diffstat (limited to 'compilerplugins/clang/check.hxx')
-rw-r--r-- | compilerplugins/clang/check.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/check.hxx b/compilerplugins/clang/check.hxx index 0d636636a81a..fd4d46fd0b97 100644 --- a/compilerplugins/clang/check.hxx +++ b/compilerplugins/clang/check.hxx @@ -115,6 +115,8 @@ public: inline ContextCheck Struct(llvm::StringRef id) const; + explicit ContextCheck(const clang::NamespaceDecl * decl ) : context_( decl ) {} + private: friend DeclCheck; friend TypeCheck; |