diff --git a/include/cling/Utils/AST.h b/include/cling/Utils/AST.h index 3696543b..3b4fe508 100644 --- a/include/cling/Utils/AST.h +++ b/include/cling/Utils/AST.h @@ -48,7 +48,7 @@ namespace utils { /// ///\returns true if the decl is a interpreter-generated wrapper function. /// - bool IsWrapper(const clang::NamedDecl* ND); + bool IsWrapper(const clang::FunctionDecl* ND); ///\brief Get the mangled name of a GlobalDecl. /// diff --git a/lib/Utils/AST.cpp b/lib/Utils/AST.cpp index 3496cd82..471138ca 100644 --- a/lib/Utils/AST.cpp +++ b/lib/Utils/AST.cpp @@ -49,7 +49,7 @@ namespace utils { NestedNameSpecifier* GetFullyQualifiedNameSpecifier(const ASTContext& Ctx, NestedNameSpecifier* scope); - bool Analyze::IsWrapper(const NamedDecl* ND) { + bool Analyze::IsWrapper(const FunctionDecl* ND) { if (!ND) return false;