Lines Matching refs:UnaryOperator
38 std::string VisitUnaryOperator(const UnaryOperator *UO) { in VisitUnaryOperator()
240 AST_MATCHER(UnaryOperator, isPreInc) { in AST_MATCHER() argument
241 return Node.getOpcode() == UnaryOperator::Opcode::UO_PreInc; in AST_MATCHER()
442 const UnaryOperator *Op;
447 Op(Result.Nodes.getNodeAs<UnaryOperator>(OpTag)) {} in IncrementGadget()
460 const UnaryOperator *getBaseStmt() const override { return Op; } in getBaseStmt()
477 const UnaryOperator *Op;
482 Op(Result.Nodes.getNodeAs<UnaryOperator>(OpTag)) {} in DecrementGadget()
495 const UnaryOperator *getBaseStmt() const override { return Op; } in getBaseStmt()
838 const UnaryOperator *Op = nullptr;
845 Op(Result.Nodes.getNodeAs<UnaryOperator>(OperatorTag)) {} in PointerDereferenceGadget()
878 const UnaryOperator *Node; // the `&DRE[any]` node
883 Node(Result.Nodes.getNodeAs<UnaryOperator>( in UPCAddressofArraySubscriptGadget()
1026 const UnaryOperator *Node; // the `++Ptr` node
1031 Node(Result.Nodes.getNodeAs<UnaryOperator>(UPCPreIncrementTag)) { in UPCPreIncrementGadget()
1109 const UnaryOperator *DerefOp = nullptr;
1118 DerefOp(Result.Nodes.getNodeAs<UnaryOperator>(DerefOpTag)), in DerefSimplePtrArithFixableGadget()
1422 fixUPCAddressofArraySubscriptWithSpan(const UnaryOperator *Node);
1810 fixUPCAddressofArraySubscriptWithSpan(const UnaryOperator *Node) { in fixUPCAddressofArraySubscriptWithSpan()
1986 if (auto AddrOfExpr = dyn_cast<UnaryOperator>(Init->IgnoreImpCasts())) in FixVarInitializerWithSpan()