llvm::logicalview::getInnerComponent

Return the outermost and innermost lexical components of Name.

Synopsis

Declared in <llvm/DebugInfo/LogicalView/Core/LVSupport.h>

LVLexicalComponent
getInnerComponent(StringRef Name);

Description

The given string represents a symbol or type name with optional enclosing scopes, such as: name, name<..>, scope::name, scope::..::name, etc. The string can have multiple references to template instantiations.

Return Value

Tuple of (outer scopes, innermost component); outer is empty when Name has a single component.

Parameters

NameDescription
NameScoped symbol or type name to split.