#include "IncDecInConditionsCheck.h"
#include "../utils/Matchers.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::bugprone {
AST_MATCHER(BinaryOperator, isLogicalOperator) { … }
AST_MATCHER(UnaryOperator, isUnaryPrePostOperator) { … }
AST_MATCHER(CXXOperatorCallExpr, isPrePostOperator) { … }
void IncDecInConditionsCheck::registerMatchers(MatchFinder *Finder) { … }
void IncDecInConditionsCheck::check(const MatchFinder::MatchResult &Result) { … }
}