def resolve_any_xref(self, env: BuildEnvironment, fromdocname: str, builder: Builder, target: str, node: pending_xref, contnode: Element) -> List[Tuple[(str, Element)]]:
    with logging.suppress_logging():
        (retnode, objtype) = self._resolve_xref_inner(env, fromdocname, builder, 'any', target, node, contnode)
    if retnode:
        if (objtype == 'templateParam'):
            return [('cpp:templateParam', retnode)]
        else:
            return [(('cpp:' + self.role_for_objtype(objtype)), retnode)]
    return []
def resolve_any_xref(self, env: BuildEnvironment, fromdocname: str, builder: Builder, target: str, node: pending_xref, contnode: Element) -> List[Tuple[(str, Element)]]:
    with logging.suppress_logging():
        (retnode, objtype) = self._resolve_xref_inner(env, fromdocname, builder, 'any', target, node, contnode)
    if retnode:
        if (objtype == 'templateParam'):
            return [('cpp:templateParam', retnode)]
        else:
            return [(('cpp:' + self.role_for_objtype(objtype)), retnode)]
    return []