Home
last modified time | relevance | path

Searched refs:AstCtx (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp729 static bool areSidesBinaryConstExpressions(const BinaryOperator *&BinOp, const ASTContext *AstCtx) { in areSidesBinaryConstExpressions() argument
736 auto IsIntegerConstantExpr = [AstCtx](const Expr *E) { in areSidesBinaryConstExpressions()
737 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in areSidesBinaryConstExpressions()
756 const ASTContext *AstCtx) { in retrieveConstExprFromBothSides() argument
757 assert(areSidesBinaryConstExpressions(BinOp, AstCtx) && in retrieveConstExprFromBothSides()
765 auto IsIntegerConstantExpr = [AstCtx](const Expr *E) { in retrieveConstExprFromBothSides()
766 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in retrieveConstExprFromBothSides()
806 const ASTContext *AstCtx) { in areExprsFromDifferentMacros() argument
814 const SourceManager &SM = AstCtx->getSourceManager(); in areExprsFromDifferentMacros()
815 const LangOptions &LO = AstCtx->getLangOpts(); in areExprsFromDifferentMacros()