class DILocalScope

Declaration

class DILocalScope : public DIScope { /* full declaration omitted */ };

Description

A scope for locals. A legal scope for lexical blocks, local variables, and debug info locations. Subclasses are \a DISubprogram, \a DILexicalBlock, and \a DILexicalBlockFile.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:1325

Inherits from: DIScope

Member Variables

Inherited from Metadata:

protected Storage
protected ImplicitCode
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

Inherited from DIScope:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DILocalScope(llvm::LLVMContext& C,
             unsigned int ID,
             llvm::Metadata::StorageType Storage,
             unsigned int Tag,
             ArrayRef<llvm::Metadata*> Ops)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:1327

Parameters

llvm::LLVMContext& C
unsigned int ID
llvm::Metadata::StorageType Storage
unsigned int Tag
ArrayRef<llvm::Metadata*> Ops

static bool classof(const llvm::Metadata* MD)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:1345

Parameters

const llvm::Metadata* MD

llvm::DILocalScope* getNonLexicalBlockFileScope()
    const

Description

Get the first non DILexicalBlockFile scope of this scope. Return this if it's not a \a DILexicalBlockFIle; otherwise, look up the scope chain.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:1343

llvm::DISubprogram* getSubprogram() const

Description

Get the subprogram for this scope. Return this if it's an \a DISubprogram; otherwise, look up the scope chain.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:1337

~DILocalScope()

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:1330