Lines Matching refs:UnaryOperator
46 std::string VisitUnaryOperator(const UnaryOperator *UO) { in VisitUnaryOperator()
255 AST_MATCHER(UnaryOperator, isPreInc) { in AST_MATCHER() argument
256 return Node.getOpcode() == UnaryOperator::Opcode::UO_PreInc; in AST_MATCHER()
394 if (cast<UnaryOperator>(Arg0)->getOpcode() == in AST_MATCHER()
395 UnaryOperator::Opcode::UO_AddrOf) in AST_MATCHER()
563 const UnaryOperator *Op;
568 Op(Result.Nodes.getNodeAs<UnaryOperator>(OpTag)) {} in IncrementGadget()
603 const UnaryOperator *Op;
608 Op(Result.Nodes.getNodeAs<UnaryOperator>(OpTag)) {} in DecrementGadget()
1110 const UnaryOperator *Op = nullptr;
1117 Op(Result.Nodes.getNodeAs<UnaryOperator>(OperatorTag)) {} in PointerDereferenceGadget()
1150 const UnaryOperator *Node; // the `&DRE[any]` node
1155 Node(Result.Nodes.getNodeAs<UnaryOperator>( in UPCAddressofArraySubscriptGadget()
1258 const UnaryOperator *Node; // the `++Ptr` node
1263 Node(Result.Nodes.getNodeAs<UnaryOperator>(UPCPreIncrementTag)) { in UPCPreIncrementGadget()
1345 const UnaryOperator *DerefOp = nullptr;
1354 DerefOp(Result.Nodes.getNodeAs<UnaryOperator>(DerefOpTag)), in DerefSimplePtrArithFixableGadget()
1702 fixUPCAddressofArraySubscriptWithSpan(const UnaryOperator *Node);
2089 fixUPCAddressofArraySubscriptWithSpan(const UnaryOperator *Node) { in fixUPCAddressofArraySubscriptWithSpan()
2267 if (auto AddrOfExpr = dyn_cast<UnaryOperator>(Init->IgnoreImpCasts())) in FixVarInitializerWithSpan()