clang 20.0.0git
Classes | Namespaces | Typedefs | Functions
QualifierAlignmentFixer.h File Reference

This file declares QualifierAlignmentFixer, a TokenAnalyzer that enforces either east or west const depending on the style. More...

#include "TokenAnalyzer.h"

Go to the source code of this file.

Classes

class  clang::format::LeftRightQualifierAlignmentFixer
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::format
 

Typedefs

typedef std::function< std::pair< tooling::Replacements, unsigned >(const Environment &)> clang::format::AnalyzerPass
 

Functions

void clang::format::addQualifierAlignmentFixerPasses (const FormatStyle &Style, SmallVectorImpl< AnalyzerPass > &Passes)
 
void clang::format::prepareLeftRightOrderingForQualifierAlignmentFixer (const std::vector< std::string > &Order, std::vector< std::string > &LeftOrder, std::vector< std::string > &RightOrder, std::vector< tok::TokenKind > &Qualifiers)
 
bool clang::format::isQualifierOrType (const FormatToken *Tok, const LangOptions &LangOpts)
 
bool clang::format::isConfiguredQualifierOrType (const FormatToken *Tok, const std::vector< tok::TokenKind > &Qualifiers, const LangOptions &LangOpts)
 
bool clang::format::isPossibleMacro (const FormatToken *Tok)
 

Detailed Description

This file declares QualifierAlignmentFixer, a TokenAnalyzer that enforces either east or west const depending on the style.

Definition in file QualifierAlignmentFixer.h.