RAII helper that emits a C++ namespace scope.

Synopsis

Declared in <llvm/TableGen/CodeGenHelpers.h>

class NamespaceEmitter;

Description

Name can be a single namespace or a nested namespace. If the name is empty, no namespace scope is generated.

Member Functions

Name

Description

NamespaceEmitter [constructor]

Constructors

~NamespaceEmitter [destructor]

Close the namespace scope if one was opened.

operator= [deleted]

Copy assignment is deleted; each emitter owns a unique stream scope.

Created with MrDocs