The new call is: const clang::FunctionDecl* matchFunctionProto(const clang::Decl* scopeDecl, llvm::StringRef funcName, llvm::StringRef funcProto, bool objectIsConst ) const; and the function must match in name and prototype (including constness). The only thing not checked is the actual declaration context.