Wrapper must be a FunctionDecl.

This commit is contained in:
Axel Naumann 2016-08-30 10:07:09 +02:00 committed by sftnight
parent 9bf00ee3db
commit 1b81e23313
2 changed files with 2 additions and 2 deletions

View File

@ -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.
///

View File

@ -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;