MLIR  20.0.0git
Public Member Functions | List of all members
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. More...
 
void writeTo (raw_indented_ostream &os) const
 Write the member initializer. More...
 

Detailed Description

Initialization of a class field in a constructor.

Definition at line 444 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 448 of file Class.h.

Member Function Documentation

◆ writeTo()

void mlir::tblgen::Constructor::MemberInitializer::writeTo ( raw_indented_ostream os) const

Write the member initializer.


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