clang  6.0.0svn
Public Member Functions | List of all members
clang::format::UsingDeclarationsSorter Class Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Format/UsingDeclarationsSorter.h"

Inheritance diagram for clang::format::UsingDeclarationsSorter:
Inheritance graph
Collaboration diagram for clang::format::UsingDeclarationsSorter:
Collaboration graph

Public Member Functions

 UsingDeclarationsSorter (const Environment &Env, const FormatStyle &Style)
tooling::Replacements analyze (TokenAnnotator &Annotator, SmallVectorImpl< AnnotatedLine *> &AnnotatedLines, FormatTokenLexer &Tokens) override
- Public Member Functions inherited from clang::format::TokenAnalyzer
 TokenAnalyzer (const Environment &Env, const FormatStyle &Style)
tooling::Replacements process ()
- 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
const EnvironmentEnv
AffectedRangeManager AffectedRangeMgr
SmallVector< SmallVector< UnwrappedLine, 16 >, 2 > UnwrappedLines
encoding::Encoding Encoding

Detailed Description

Definition at line 24 of file UsingDeclarationsSorter.h.

Constructor & Destructor Documentation

◆ UsingDeclarationsSorter()

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

Definition at line 112 of file UsingDeclarationsSorter.cpp.

Member Function Documentation

◆ analyze()

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

Implements clang::format::TokenAnalyzer.

Definition at line 116 of file UsingDeclarationsSorter.cpp.

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