Path: blob/main/contrib/llvm-project/lldb/source/ValueObject/DILAST.cpp
213765 views
//===-- DILAST.cpp --------------------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "lldb/ValueObject/DILAST.h"9#include "llvm/Support/ErrorHandling.h"1011namespace lldb_private::dil {1213llvm::Expected<lldb::ValueObjectSP> ErrorNode::Accept(Visitor *v) const {14llvm_unreachable("Attempting to Visit a DIL ErrorNode.");15}1617llvm::Expected<lldb::ValueObjectSP> IdentifierNode::Accept(Visitor *v) const {18return v->Visit(this);19}2021llvm::Expected<lldb::ValueObjectSP> MemberOfNode::Accept(Visitor *v) const {22return v->Visit(this);23}2425llvm::Expected<lldb::ValueObjectSP> UnaryOpNode::Accept(Visitor *v) const {26return v->Visit(this);27}2829llvm::Expected<lldb::ValueObjectSP>30ArraySubscriptNode::Accept(Visitor *v) const {31return v->Visit(this);32}3334llvm::Expected<lldb::ValueObjectSP>35BitFieldExtractionNode::Accept(Visitor *v) const {36return v->Visit(this);37}3839} // namespace lldb_private::dil404142