Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Symbol/
H A DPostfixExpression.cpp23 static llvm::Optional<BinaryOpNode::OpType>
29 return BinaryOpNode::Align; in GetBinaryOpType()
31 return BinaryOpNode::Minus; in GetBinaryOpType()
33 return BinaryOpNode::Plus; in GetBinaryOpType()
58 stack.push_back(MakeNode<BinaryOpNode>(alloc, *op_type, *left, *right)); in ParseOneExpression()
117 bool Visit(BinaryOpNode &binary, Node *&) override { in Visit()
149 void Visit(BinaryOpNode &binary, Node *&) override;
180 void DWARFCodegen::Visit(BinaryOpNode &binary, Node *&) { in Visit()
185 case BinaryOpNode::Plus: in Visit()
190 case BinaryOpNode::Minus: in Visit()
[all …]
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DPostfixExpressionTest.cpp22 static std::string ToString(BinaryOpNode::OpType type) { in ToString()
24 case BinaryOpNode::Align: in ToString()
26 case BinaryOpNode::Minus: in ToString()
28 case BinaryOpNode::Plus: in ToString()
44 std::string Visit(BinaryOpNode &binary, Node *&) override { in Visit()
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DPostfixExpression.h51 class BinaryOpNode : public Node {
59 BinaryOpNode(OpType op_type, Node &left, Node &right) in BinaryOpNode() function
167 virtual ResultT Visit(BinaryOpNode &binary, Node *&ref) = 0;
179 return Visit(llvm::cast<BinaryOpNode>(*node), node); in Dispatch()