Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp705 static bool areSidesBinaryConstExpressions(const BinaryOperator *&BinOp, const ASTContext *AstCtx) { in areSidesBinaryConstExpressions() argument
712 auto IsIntegerConstantExpr = [AstCtx](const Expr *E) { in areSidesBinaryConstExpressions()
713 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in areSidesBinaryConstExpressions()
732 const ASTContext *AstCtx) { in retrieveConstExprFromBothSides() argument
733 assert(areSidesBinaryConstExpressions(BinOp, AstCtx) && in retrieveConstExprFromBothSides()
741 auto IsIntegerConstantExpr = [AstCtx](const Expr *E) { in retrieveConstExprFromBothSides()
742 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in retrieveConstExprFromBothSides()
782 const ASTContext *AstCtx) { in areExprsFromDifferentMacros() argument
790 const SourceManager &SM = AstCtx->getSourceManager(); in areExprsFromDifferentMacros()
791 const LangOptions &LO = AstCtx->getLangOpts(); in areExprsFromDifferentMacros()