clang 22.0.0git
clang::format::UsingDeclarationsSorter Class Reference

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

Inheritance diagram for clang::format::UsingDeclarationsSorter:
[legend]

Public Member Functions

 UsingDeclarationsSorter (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 ()

Additional Inherited Members

Protected Member Functions inherited from clang::format::TokenAnalyzer
void consumeUnwrappedLine (const UnwrappedLine &TheLine) override
void finishRun () override
Protected Attributes inherited from clang::format::TokenAnalyzer
FormatStyle Style
LangOptions LangOpts
const EnvironmentEnv
AffectedRangeManager AffectedRangeMgr
SmallVector< SmallVector< UnwrappedLine, 16 >, 2 > UnwrappedLines
encoding::Encoding Encoding

Detailed Description

Definition at line 23 of file UsingDeclarationsSorter.h.

Constructor & Destructor Documentation

◆ UsingDeclarationsSorter()

clang::format::UsingDeclarationsSorter::UsingDeclarationsSorter ( const Environment & Env,
const FormatStyle & Style )

Member Function Documentation

◆ analyze()

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

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