Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp349 SmallVector<const Expr *, N> &AllOperands, in collectOperands() argument
355 return collectOperands<TExpr>(Operands.first, AllOperands, OpKind) || in collectOperands()
356 collectOperands<TExpr>(Operands.second, AllOperands, OpKind); in collectOperands()
359 AllOperands.push_back(Part); in collectOperands()
404 SmallVector<const Expr *, 4> AllOperands; in markDuplicateOperands() local
405 if (collectOperands<TExpr>(Operands.first, AllOperands, OpKind)) in markDuplicateOperands()
407 if (collectOperands<TExpr>(Operands.second, AllOperands, OpKind)) in markDuplicateOperands()
409 size_t NumOperands = AllOperands.size(); in markDuplicateOperands()
417 if (AllOperands[J]->HasSideEffects(Context)) in markDuplicateOperands()
420 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
[all …]