LLVM 20.0.0git
Public Types | Public Member Functions | Friends | List of all members
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 130 of file Format.h.

Member Enumeration Documentation

◆ Justification

Enumerator
JustifyNone 
JustifyLeft 
JustifyRight 
JustifyCenter 

Definition at line 132 of file Format.h.

Constructor & Destructor Documentation

◆ FormattedString()

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

Definition at line 133 of file Format.h.

Friends And Related Function Documentation

◆ raw_ostream

friend class raw_ostream
friend

Definition at line 140 of file Format.h.


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