Home
last modified time | relevance | path

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

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
149 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
353 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
420 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
445 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
453 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
458 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
1001 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1024 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
148 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
352 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
419 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
442 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
450 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
455 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
996 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1019 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
149 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
353 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
420 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
443 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
451 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
456 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
997 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1020 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
149 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
353 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
420 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
445 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
453 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
458 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
995 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1018 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
149 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
353 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
420 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
445 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
453 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
458 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
995 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1018 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
148 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
352 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
419 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
442 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
450 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
455 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
996 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1019 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
148 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
352 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
419 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
442 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
450 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
455 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
996 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1019 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
148 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
352 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
419 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
442 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
450 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
455 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
996 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1019 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
149 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
353 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
420 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
443 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
451 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
456 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
997 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1020 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp60 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
75 if (!areEquivalentExpr(dyn_cast_or_null<Expr>(*LeftIter), in areEquivalentExpr()
148 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
352 if (areEquivalentExpr(Operands.first, Operands.second)) in collectOperands()
419 if (areEquivalentExpr(AllOperands[I], AllOperands[J])) { in markDuplicateOperands()
442 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
450 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
455 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
996 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
1019 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp58 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
73 if (!areEquivalentExpr(dyn_cast<Expr>(*LeftIter), in areEquivalentExpr()
144 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
314 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
318 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
323 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
832 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
855 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
984 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkRelationalExpr()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp58 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
73 if (!areEquivalentExpr(dyn_cast<Expr>(*LeftIter), in areEquivalentExpr()
144 return areEquivalentExpr(LeftUnaryExpr->getArgumentExpr(), in areEquivalentExpr()
314 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
318 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
323 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
832 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
855 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
984 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkRelationalExpr()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp59 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
74 if (!areEquivalentExpr(dyn_cast<Expr>(*LeftIter), in areEquivalentExpr()
301 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
305 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
310 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
773 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
796 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
925 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkRelationalExpr()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp59 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
74 if (!areEquivalentExpr(dyn_cast<Expr>(*LeftIter), in areEquivalentExpr()
301 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
305 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
310 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
773 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
796 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
925 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkRelationalExpr()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp58 static bool areEquivalentExpr(const Expr *Left, const Expr *Right) { in areEquivalentExpr() function
73 if (!areEquivalentExpr(dyn_cast<Expr>(*LeftIter), in areEquivalentExpr()
300 return areEquivalentExpr(Node.getLHS(), Node.getRHS()); in AST_MATCHER()
304 return areEquivalentExpr(Node.getTrueExpr(), Node.getFalseExpr()); in AST_MATCHER()
309 areEquivalentExpr(Node.getArg(0), Node.getArg(1)); in AST_MATCHER()
779 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
802 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkArithmeticExpr()
931 !areEquivalentExpr(LhsSymbol, RhsSymbol)) in checkRelationalExpr()