clang 20.0.0git
Public Member Functions | List of all members
clang::format::UnwrappedLineFormatter Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/UnwrappedLineFormatter.h"

Public Member Functions

 UnwrappedLineFormatter (ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style, const AdditionalKeywords &Keywords, const SourceManager &SourceMgr, FormattingAttemptStatus *Status)
 
unsigned format (const SmallVectorImpl< AnnotatedLine * > &Lines, bool DryRun=false, int AdditionalIndent=0, bool FixBadIndentation=false, unsigned FirstStartColumn=0, unsigned NextStartColumn=0, unsigned LastStartColumn=0)
 Format the current block and return the penalty.
 

Detailed Description

Definition at line 26 of file UnwrappedLineFormatter.h.

Constructor & Destructor Documentation

◆ UnwrappedLineFormatter()

clang::format::UnwrappedLineFormatter::UnwrappedLineFormatter ( ContinuationIndenter Indenter,
WhitespaceManager Whitespaces,
const FormatStyle Style,
const AdditionalKeywords Keywords,
const SourceManager SourceMgr,
FormattingAttemptStatus Status 
)
inline

Definition at line 28 of file UnwrappedLineFormatter.h.

References Indenter.

Member Function Documentation

◆ format()

unsigned clang::format::UnwrappedLineFormatter::format ( const SmallVectorImpl< AnnotatedLine * > &  Lines,
bool  DryRun = false,
int  AdditionalIndent = 0,
bool  FixBadIndentation = false,
unsigned  FirstStartColumn = 0,
unsigned  NextStartColumn = 0,
unsigned  LastStartColumn = 0 
)

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