Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/lldb/source/ValueObject/DILAST.cpp
213765 views
1
//===-- DILAST.cpp --------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include "lldb/ValueObject/DILAST.h"
10
#include "llvm/Support/ErrorHandling.h"
11
12
namespace lldb_private::dil {
13
14
llvm::Expected<lldb::ValueObjectSP> ErrorNode::Accept(Visitor *v) const {
15
llvm_unreachable("Attempting to Visit a DIL ErrorNode.");
16
}
17
18
llvm::Expected<lldb::ValueObjectSP> IdentifierNode::Accept(Visitor *v) const {
19
return v->Visit(this);
20
}
21
22
llvm::Expected<lldb::ValueObjectSP> MemberOfNode::Accept(Visitor *v) const {
23
return v->Visit(this);
24
}
25
26
llvm::Expected<lldb::ValueObjectSP> UnaryOpNode::Accept(Visitor *v) const {
27
return v->Visit(this);
28
}
29
30
llvm::Expected<lldb::ValueObjectSP>
31
ArraySubscriptNode::Accept(Visitor *v) const {
32
return v->Visit(this);
33
}
34
35
llvm::Expected<lldb::ValueObjectSP>
36
BitFieldExtractionNode::Accept(Visitor *v) const {
37
return v->Visit(this);
38
}
39
40
} // namespace lldb_private::dil
41
42