LLVM 23.0.0git
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 784 of file raw_ostream.h.

Constructor & Destructor Documentation

◆ indent()

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

Definition at line 789 of file raw_ostream.h.

References NumIndents, and Scale.

Referenced by operator+(), operator++(), operator++(), operator-(), operator--(), operator--(), and operator=().

Member Function Documentation

◆ operator+()

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

Definition at line 798 of file raw_ostream.h.

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

◆ operator++() [1/2]

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

Definition at line 803 of file raw_ostream.h.

References indent(), and NumIndents.

◆ operator++() [2/2]

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

Definition at line 807 of file raw_ostream.h.

References indent(), and NumIndents.

◆ operator+=()

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

Definition at line 793 of file raw_ostream.h.

References N, and NumIndents.

◆ operator-()

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

Definition at line 799 of file raw_ostream.h.

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

◆ operator--() [1/2]

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

Definition at line 812 of file raw_ostream.h.

References assert(), indent(), and NumIndents.

◆ operator--() [2/2]

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

Definition at line 817 of file raw_ostream.h.

References assert(), indent(), and NumIndents.

◆ operator-=()

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

Definition at line 794 of file raw_ostream.h.

References assert(), N, and NumIndents.

◆ operator=()

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

Definition at line 823 of file raw_ostream.h.

References indent(), N, and NumIndents.

Member Data Documentation

◆ NumIndents

◆ Scale

unsigned llvm::indent::Scale

Definition at line 787 of file raw_ostream.h.

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


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