LLVM 22.0.0git
llvm::FormattedString Class Reference

This is a helper class for left_justify, right_justify, and center_justify. More...

#include "llvm/Support/Format.h"

Public Types

enum  Justification { JustifyNone , JustifyLeft , JustifyRight , JustifyCenter }

Public Member Functions

 FormattedString (StringRef S, unsigned W, Justification J)

Friends

class raw_ostream

Detailed Description

This is a helper class for left_justify, right_justify, and center_justify.

Definition at line 131 of file Format.h.

Member Enumeration Documentation

◆ Justification

Enumerator
JustifyNone 
JustifyLeft 
JustifyRight 
JustifyCenter 

Definition at line 133 of file Format.h.

Constructor & Destructor Documentation

◆ FormattedString()

llvm::FormattedString::FormattedString ( StringRef S,
unsigned W,
Justification J )
inline

Definition at line 134 of file Format.h.

◆ raw_ostream

friend class raw_ostream
friend

Definition at line 141 of file Format.h.

References raw_ostream.

Referenced by raw_ostream.


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