|
MLIR
22.0.0git
|
Simple RAII struct to use to indentation around entering/exiting region. More...
#include "mlir/Support/IndentedOstream.h"
Public Member Functions | |
| DelimitedScope (raw_indented_ostream &os, StringRef open="", StringRef close="", bool indent=true) | |
| ~DelimitedScope () | |
Public Attributes | |
| raw_indented_ostream & | os |
Simple RAII struct to use to indentation around entering/exiting region.
Definition at line 30 of file IndentedOstream.h.
|
inlineexplicit |
Definition at line 31 of file IndentedOstream.h.
References mlir::raw_indented_ostream::indent(), and os.
|
inline |
Definition at line 38 of file IndentedOstream.h.
References os, and mlir::raw_indented_ostream::unindent().
| raw_indented_ostream& mlir::raw_indented_ostream::DelimitedScope::os |
Definition at line 44 of file IndentedOstream.h.
Referenced by DelimitedScope(), and ~DelimitedScope().