getScope overloads

Synopses

Declared in <llvm/IR/DebugInfoMetadata.h>

Return the lexical scope associated with N.

template<typename NodeT>
static
DIScope*
getScope(NodeT* N);

Return the lexical scope associated with N.

template<typename NodeT>
static
DIScope const*
getScope(NodeT const* N);

Return the scope of the global variable inside expression N.

Return the scope of the global variable inside expression N.

template<>
[[maybe_unused]]
DIScope const*
getScope<DIGlobalVariableExpression>(DIGlobalVariableExpression const* N);

Return Value

  • The lexical scope associated with N.

  • The scope of the global variable inside expression N.

Parameters

Name

Description

N

Node that exposes a getScope() accessor.

Created with MrDocs