LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::indent Struct Reference

#include "llvm/Support/raw_ostream.h"

Public Member Functions

 indent (unsigned NumIndents, unsigned Scale=1)
 
void operator+= (unsigned N)
 
void operator-= (unsigned N)
 
indent operator+ (unsigned N) const
 
indent operator- (unsigned N) const
 
indentoperator++ ()
 
indent operator++ (int)
 
indentoperator-- ()
 
indent operator-- (int)
 
indentoperator= (unsigned N)
 

Public Attributes

unsigned NumIndents
 
unsigned Scale
 

Detailed Description

Definition at line 781 of file raw_ostream.h.

Constructor & Destructor Documentation

◆ indent()

llvm::indent::indent ( unsigned  NumIndents,
unsigned  Scale = 1 
)
inlineexplicit

Definition at line 786 of file raw_ostream.h.

Member Function Documentation

◆ operator+()

indent llvm::indent::operator+ ( unsigned  N) const
inline

Definition at line 795 of file raw_ostream.h.

References N, NumIndents, and Scale.

◆ operator++() [1/2]

indent & llvm::indent::operator++ ( )
inline

Definition at line 800 of file raw_ostream.h.

References NumIndents.

◆ operator++() [2/2]

indent llvm::indent::operator++ ( int  )
inline

Definition at line 804 of file raw_ostream.h.

References NumIndents.

◆ operator+=()

void llvm::indent::operator+= ( unsigned  N)
inline

Definition at line 790 of file raw_ostream.h.

References N, and NumIndents.

◆ operator-()

indent llvm::indent::operator- ( unsigned  N) const
inline

Definition at line 796 of file raw_ostream.h.

References assert(), N, NumIndents, and Scale.

◆ operator--() [1/2]

indent & llvm::indent::operator-- ( )
inline

Definition at line 809 of file raw_ostream.h.

References assert(), and NumIndents.

◆ operator--() [2/2]

indent llvm::indent::operator-- ( int  )
inline

Definition at line 814 of file raw_ostream.h.

References assert(), and NumIndents.

◆ operator-=()

void llvm::indent::operator-= ( unsigned  N)
inline

Definition at line 791 of file raw_ostream.h.

References assert(), N, and NumIndents.

◆ operator=()

indent & llvm::indent::operator= ( unsigned  N)
inline

Definition at line 820 of file raw_ostream.h.

References N, and NumIndents.

Member Data Documentation

◆ NumIndents

unsigned llvm::indent::NumIndents

◆ Scale

unsigned llvm::indent::Scale

Definition at line 784 of file raw_ostream.h.

Referenced by operator+(), operator-(), and llvm::operator<<().


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