LLVM 22.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 782 of file raw_ostream.h.

Constructor & Destructor Documentation

◆ indent()

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

Definition at line 787 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 796 of file raw_ostream.h.

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

◆ operator++() [1/2]

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

Definition at line 801 of file raw_ostream.h.

References indent(), and NumIndents.

◆ operator++() [2/2]

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

Definition at line 805 of file raw_ostream.h.

References indent(), and NumIndents.

◆ operator+=()

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

Definition at line 791 of file raw_ostream.h.

References N, and NumIndents.

◆ operator-()

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

Definition at line 797 of file raw_ostream.h.

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

◆ operator--() [1/2]

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

Definition at line 810 of file raw_ostream.h.

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

◆ operator--() [2/2]

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

Definition at line 815 of file raw_ostream.h.

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

◆ operator-=()

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

Definition at line 792 of file raw_ostream.h.

References assert(), N, and NumIndents.

◆ operator=()

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

Definition at line 821 of file raw_ostream.h.

References indent(), N, and NumIndents.

Member Data Documentation

◆ NumIndents

◆ Scale

unsigned llvm::indent::Scale

Definition at line 785 of file raw_ostream.h.

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


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