clang 19.0.0git
Public Member Functions | List of all members
clang::format::DefinitionBlockSeparator Class Reference

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

Inheritance diagram for clang::format::DefinitionBlockSeparator:
Inheritance graph
[legend]

Public Member Functions

 DefinitionBlockSeparator (const Environment &Env, const FormatStyle &Style)
 
std::pair< tooling::Replacements, unsignedanalyze (TokenAnnotator &Annotator, SmallVectorImpl< AnnotatedLine * > &AnnotatedLines, FormatTokenLexer &Tokens) override
 
- Public Member Functions inherited from clang::format::TokenAnalyzer
 TokenAnalyzer (const Environment &Env, const FormatStyle &Style)
 
std::pair< tooling::Replacements, unsignedprocess (bool SkipAnnotation=false)
 
- Public Member Functions inherited from clang::format::UnwrappedLineConsumer
virtual ~UnwrappedLineConsumer ()
 
virtual void consumeUnwrappedLine (const UnwrappedLine &Line)=0
 
virtual void finishRun ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from clang::format::TokenAnalyzer
virtual std::pair< tooling::Replacements, unsignedanalyze (TokenAnnotator &Annotator, SmallVectorImpl< AnnotatedLine * > &AnnotatedLines, FormatTokenLexer &Tokens)=0
 
void consumeUnwrappedLine (const UnwrappedLine &TheLine) override
 
void finishRun () override
 
- Protected Attributes inherited from clang::format::TokenAnalyzer
FormatStyle Style
 
const EnvironmentEnv
 
AffectedRangeManager AffectedRangeMgr
 
SmallVector< SmallVector< UnwrappedLine, 16 >, 2 > UnwrappedLines
 
encoding::Encoding Encoding
 

Detailed Description

Definition at line 24 of file DefinitionBlockSeparator.h.

Constructor & Destructor Documentation

◆ DefinitionBlockSeparator()

clang::format::DefinitionBlockSeparator::DefinitionBlockSeparator ( const Environment Env,
const FormatStyle Style 
)
inline

Definition at line 26 of file DefinitionBlockSeparator.h.

Member Function Documentation

◆ analyze()

std::pair< tooling::Replacements, unsigned > clang::format::DefinitionBlockSeparator::analyze ( TokenAnnotator Annotator,
SmallVectorImpl< AnnotatedLine * > &  AnnotatedLines,
FormatTokenLexer Tokens 
)
overridevirtual

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