//===------------------------- MemberPointer.cpp ----------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "MemberPointer.h" #include "Context.h" #include "FunctionPointer.h" #include "Program.h" #include "Record.h" namespace clang { namespace interp { std::optional<Pointer> MemberPointer::toPointer(const Context &Ctx) const { … } FunctionPointer MemberPointer::toFunctionPointer(const Context &Ctx) const { … } APValue MemberPointer::toAPValue(const ASTContext &ASTCtx) const { … } } // namespace interp } // namespace clang