| 1 | //===----- ABIInfo.h - ABI information access & encapsulation ---*- C++ -*-===// |
| 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 | #ifndef LLVM_CLANG_LIB_CIR_ABIINFO_H |
| 10 | #define LLVM_CLANG_LIB_CIR_ABIINFO_H |
| 11 | |
| 12 | namespace clang::CIRGen { |
| 13 | |
| 14 | class CIRGenFunctionInfo; |
| 15 | class CIRGenTypes; |
| 16 | |
| 17 | class ABIInfo { |
| 18 | ABIInfo() = delete; |
| 19 | |
| 20 | public: |
| 21 | CIRGenTypes &cgt; |
| 22 | |
| 23 | ABIInfo(CIRGenTypes &cgt) : cgt(cgt) {} |
| 24 | |
| 25 | virtual ~ABIInfo(); |
| 26 | }; |
| 27 | |
| 28 | } // namespace clang::CIRGen |
| 29 | |
| 30 | #endif // LLVM_CLANG_LIB_CIR_ABIINFO_H |
| 31 | |