MLIR 22.0.0git
mlir::tblgen::Constructor::MemberInitializer Class Reference

Initialization of a class field in a constructor. More...

#include "mlir/TableGen/Class.h"

Public Member Functions

 MemberInitializer (std::string name, std::string value)
 Create a member initializer in a constructor that initializes the class field name with value.
void writeTo (raw_indented_ostream &os) const
 Write the member initializer.

Detailed Description

Initialization of a class field in a constructor.

Definition at line 462 of file Class.h.

Constructor & Destructor Documentation

◆ MemberInitializer()

mlir::tblgen::Constructor::MemberInitializer::MemberInitializer ( std::string name,
std::string value )
inline

Create a member initializer in a constructor that initializes the class field name with value.

Definition at line 466 of file Class.h.

Member Function Documentation

◆ writeTo()

void Constructor::MemberInitializer::writeTo ( raw_indented_ostream & os) const

Write the member initializer.

Definition at line 238 of file Class.cpp.


The documentation for this class was generated from the following files: