clang  16.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::format::QualifierAlignmentFixer Class Reference

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

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

Public Member Functions

 QualifierAlignmentFixer (const Environment &Env, const FormatStyle &Style, StringRef &Code, ArrayRef< tooling::Range > Ranges, unsigned FirstStartColumn, unsigned NextStartColumn, unsigned LastStartColumn, StringRef FileName)
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 ()

Static Public Member Functions

static void PrepareLeftRightOrdering (const std::vector< std::string > &Order, std::vector< std::string > &LeftOrder, std::vector< std::string > &RightOrder, std::vector< tok::TokenKind > &Qualifiers)

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 28 of file QualifierAlignmentFixer.h.

Constructor & Destructor Documentation

◆ QualifierAlignmentFixer()

clang::format::QualifierAlignmentFixer::QualifierAlignmentFixer ( const Environment Env,
const FormatStyle Style,
StringRef &  Code,
ArrayRef< tooling::Range Ranges,
unsigned  FirstStartColumn,
unsigned  NextStartColumn,
unsigned  LastStartColumn,
StringRef  FileName 

Definition at line 27 of file QualifierAlignmentFixer.cpp.

Member Function Documentation

◆ analyze()

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

◆ PrepareLeftRightOrdering()

void clang::format::QualifierAlignmentFixer::PrepareLeftRightOrdering ( const std::vector< std::string > &  Order,
std::vector< std::string > &  LeftOrder,
std::vector< std::string > &  RightOrder,
std::vector< tok::TokenKind > &  Qualifiers 

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