/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationAdditionCheck.cpp | 33 const BinaryOperator *Binop = in check() local 38 if (Binop->getExprLoc().isMacroID() || Binop->getExprLoc().isInvalid()) in check() 49 if (Call == Binop->getLHS()->IgnoreParenImpCasts()) { in check() 51 Binop->getSourceRange(), in check() 54 rewriteExprFromNumberToDuration(Result, *Scale, Binop->getRHS()) + ")") in check() 57 assert(Call == Binop->getRHS()->IgnoreParenImpCasts() && in check() 60 Binop->getSourceRange(), in check() 62 rewriteExprFromNumberToDuration(Result, *Scale, Binop->getLHS()) + in check() 68 diag(Binop->getBeginLoc(), "perform addition in the duration domain") << Hint; in check()
|
D | DurationComparisonCheck.cpp | 31 const auto *Binop = Result.Nodes.getNodeAs<BinaryOperator>("binop"); in check() local 42 if (isInMacro(Result, Binop->getLHS()) || isInMacro(Result, Binop->getRHS())) in check() 45 rewriteExprFromNumberToDuration(Result, *Scale, Binop->getLHS()); in check() 47 rewriteExprFromNumberToDuration(Result, *Scale, Binop->getRHS()); in check() 49 diag(Binop->getBeginLoc(), "perform comparison in the duration domain") in check() 50 << FixItHint::CreateReplacement(Binop->getSourceRange(), in check() 52 Binop->getOpcodeStr() + " " + in check()
|
D | TimeComparisonCheck.cpp | 32 const auto *Binop = Result.Nodes.getNodeAs<BinaryOperator>("binop"); in check() local 39 if (isInMacro(Result, Binop->getLHS()) || isInMacro(Result, Binop->getRHS())) in check() 47 rewriteExprFromNumberToTime(Result, *Scale, Binop->getLHS()); in check() 49 rewriteExprFromNumberToTime(Result, *Scale, Binop->getRHS()); in check() 51 diag(Binop->getBeginLoc(), "perform comparison in the time domain") in check() 52 << FixItHint::CreateReplacement(Binop->getSourceRange(), in check() 54 Binop->getOpcodeStr() + " " + in check()
|
D | DurationSubtractionCheck.cpp | 33 const auto *Binop = Result.Nodes.getNodeAs<BinaryOperator>("binop"); in check() local 37 if (Binop->getExprLoc().isMacroID() || Binop->getExprLoc().isInvalid()) in check() 46 rewriteExprFromNumberToDuration(Result, *Scale, Binop->getRHS()); in check() 50 diag(Binop->getBeginLoc(), "perform subtraction in the duration domain") in check() 52 Binop->getSourceRange(), in check()
|
D | DurationUnnecessaryConversionCheck.cpp | 84 if (const auto *Binop = Result.Nodes.getNodeAs<BinaryOperator>("binop")) { in check() local 87 const Expr *LHS = Binop->getLHS(); in check() 88 const Expr *RHS = Binop->getRHS(); in check()
|
/external/starlark-go/syntax/ |
D | grammar.txt | 86 BinaryExpr = Test {Binop Test} . 88 Binop = 'or'
|
/external/llvm-project/llvm/unittests/FileCheck/ |
D | FileCheckTest.cpp | 746 TEST_F(FileCheckTest, Binop) { in TEST_F() argument 763 BinaryOperation Binop(ExprStr, doAdd, std::move(FooVarUse), in TEST_F() local 768 Expected<ExpressionValue> Value = Binop.eval(); in TEST_F() 771 Expected<ExpressionFormat> ImplicitFormat = Binop.getImplicitFormat(SM); in TEST_F() 778 Value = Binop.eval(); in TEST_F() 784 Value = Binop.eval(); in TEST_F() 794 Binop = BinaryOperation(ExprStr, doAdd, std::move(FooVarUse), in TEST_F() 796 ImplicitFormat = Binop.getImplicitFormat(SM); in TEST_F() 804 Binop = BinaryOperation(ExprStr, doAdd, std::move(Eighteen), in TEST_F() 806 ImplicitFormat = Binop.getImplicitFormat(SM); in TEST_F() [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | WasmTranslator.cpp | 393 Node Binop(wasm::WasmOpcode Opcode, Node Left, Node Right) { in Binop() function in IceBuilder
|
/external/starlark-go/doc/ |
D | spec.md | 1886 BinaryExpr = Test {Binop Test} . 1888 Binop = 'or'
|