//===--- CodeGenTypeCache.h - Commonly used LLVM types and info -*- 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 // //===----------------------------------------------------------------------===// // // This structure provides a set of common types useful during IR emission. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_LIB_CODEGEN_CODEGENTYPECACHE_H #define LLVM_CLANG_LIB_CODEGEN_CODEGENTYPECACHE_H #include "clang/AST/CharUnits.h" #include "clang/Basic/AddressSpaces.h" #include "llvm/IR/CallingConv.h" namespace llvm { class Type; class IntegerType; class PointerType; } namespace clang { namespace CodeGen { /// This structure provides a set of types that are commonly used /// during IR emission. It's initialized once in CodeGenModule's /// constructor and then copied around into new CodeGenFunctions. struct CodeGenTypeCache { … }; } // end namespace CodeGen } // end namespace clang #endif