//===--- Program.h - Bytecode for the constexpr VM --------------*- 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 // //===----------------------------------------------------------------------===// // // Defines a program which organises and links multiple bytecode functions. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_AST_INTERP_PROGRAM_H #define LLVM_CLANG_AST_INTERP_PROGRAM_H #include "Function.h" #include "Pointer.h" #include "PrimType.h" #include "Record.h" #include "Source.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Allocator.h" #include <map> #include <vector> namespace clang { class RecordDecl; class Expr; class FunctionDecl; class StringLiteral; class VarDecl; namespace interp { class Context; /// The program contains and links the bytecode for all functions. class Program final { … }; } // namespace interp } // namespace clang #endif