Wrapper must be a FunctionDecl.
This commit is contained in:
parent
9bf00ee3db
commit
1b81e23313
@ -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.
|
||||
///
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user