Return the lexical scope associated with N.

Synopsis

Declared in <llvm/IR/DebugInfoMetadata.h>

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

Specializations

Name

Description

getScope<DIGlobalVariableExpression>

Return the scope of the global variable inside expression N.

Return Value

The lexical scope associated with N.

Parameters

Name

Description

N

Node that exposes a getScope() accessor.

Created with MrDocs