|
static bool | clang::tidy::readability::needsParensAfterUnaryNegation (const Expr *E) |
|
static StringRef | clang::tidy::readability::negatedOperator (const BinaryOperator *BinOp) |
|
static StringRef | clang::tidy::readability::getOperatorName (OverloadedOperatorKind OpKind) |
|
static StringRef | clang::tidy::readability::negatedOperator (const CXXOperatorCallExpr *OpCall) |
|
static std::string | clang::tidy::readability::asBool (StringRef Text, bool NeedsStaticCast) |
|
static bool | clang::tidy::readability::needsNullPtrComparison (const Expr *E) |
|
static bool | clang::tidy::readability::needsZeroComparison (const Expr *E) |
|
static bool | clang::tidy::readability::needsStaticCast (const Expr *E) |
|
static std::string | clang::tidy::readability::compareExpressionToConstant (const ASTContext &Context, const Expr *E, bool Negated, const char *Constant) |
|
static std::string | clang::tidy::readability::compareExpressionToNullPtr (const ASTContext &Context, const Expr *E, bool Negated) |
|
static std::string | clang::tidy::readability::compareExpressionToZero (const ASTContext &Context, const Expr *E, bool Negated) |
|
static std::string | clang::tidy::readability::replacementExpression (const ASTContext &Context, bool Negated, const Expr *E) |
|
static bool | clang::tidy::readability::containsDiscardedTokens (const ASTContext &Context, CharSourceRange CharRange) |
|
static bool | clang::tidy::readability::containsBoolLiteral (const Expr *E) |
|
static bool | clang::tidy::readability::flipDemorganOperator (llvm::SmallVectorImpl< FixItHint > &Output, const BinaryOperator *BO) |
| Swaps a BinaryOperator opcode from && to || or vice-versa.
|
|
static BinaryOperatorKind | clang::tidy::readability::getDemorganFlippedOperator (BinaryOperatorKind BO) |
|
static bool | clang::tidy::readability::flipDemorganSide (SmallVectorImpl< FixItHint > &Fixes, const ASTContext &Ctx, const Expr *E, std::optional< BinaryOperatorKind > OuterBO) |
|
static bool | clang::tidy::readability::flipDemorganBinaryOperator (SmallVectorImpl< FixItHint > &Fixes, const ASTContext &Ctx, const BinaryOperator *BinOp, std::optional< BinaryOperatorKind > OuterBO, const ParenExpr *Parens=nullptr) |
| Inverts BinOp , Removing Parens if they exist and are safe to remove.
|
|
static bool | clang::tidy::readability::shouldRemoveParens (const Stmt *Parent, BinaryOperatorKind NewOuterBinary, const ParenExpr *Parens) |
|