|
FixItHint | clang::tidy::utils::fixit::changeVarDeclToReference (const VarDecl &Var, ASTContext &Context) |
| Creates fix to make VarDecl a reference by adding & .
|
|
static bool | clang::tidy::utils::fixit::isValueType (const Type *T) |
|
static bool | clang::tidy::utils::fixit::isValueType (QualType QT) |
|
static bool | clang::tidy::utils::fixit::isMemberOrFunctionPointer (QualType QT) |
|
static bool | clang::tidy::utils::fixit::locDangerous (SourceLocation S) |
|
static std::optional< SourceLocation > | clang::tidy::utils::fixit::skipLParensBackwards (SourceLocation Start, const ASTContext &Context) |
|
static std::optional< FixItHint > | clang::tidy::utils::fixit::fixIfNotDangerous (SourceLocation Loc, StringRef Text) |
|
static std::string | clang::tidy::utils::fixit::buildQualifier (DeclSpec::TQ Qualifier, bool WhitespaceBefore=false) |
|
static std::optional< FixItHint > | clang::tidy::utils::fixit::changeValue (const VarDecl &Var, DeclSpec::TQ Qualifier, QualifierTarget QualTarget, QualifierPolicy QualPolicy, const ASTContext &Context) |
|
static std::optional< FixItHint > | clang::tidy::utils::fixit::changePointerItself (const VarDecl &Var, DeclSpec::TQ Qualifier, const ASTContext &Context) |
|
static std::optional< FixItHint > | clang::tidy::utils::fixit::changePointer (const VarDecl &Var, DeclSpec::TQ Qualifier, const Type *Pointee, QualifierTarget QualTarget, QualifierPolicy QualPolicy, const ASTContext &Context) |
|
static std::optional< FixItHint > | clang::tidy::utils::fixit::changeReferencee (const VarDecl &Var, DeclSpec::TQ Qualifier, QualType Pointee, QualifierTarget QualTarget, QualifierPolicy QualPolicy, const ASTContext &Context) |
|
std::optional< FixItHint > | clang::tidy::utils::fixit::addQualifierToVarDecl (const VarDecl &Var, const ASTContext &Context, DeclSpec::TQ Qualifier, QualifierTarget QualTarget=QualifierTarget::Pointee, QualifierPolicy QualPolicy=QualifierPolicy::Left) |
| Creates fix to qualify VarDecl with the specified Qualifier .
|
|
bool | clang::tidy::utils::fixit::areParensNeededForStatement (const Stmt &Node) |
|
static bool | clang::tidy::utils::fixit::needParensAfterUnaryOperator (const Expr &ExprNode) |
|
std::string | clang::tidy::utils::fixit::formatDereference (const Expr &ExprNode, const ASTContext &Context) |
|