Author: Davide Italiano Date: 2024-07-02T08:53:48-07:00 New Revision: 46f7929879a59ec72dc75679b4201e2d314efba9
URL: https://github.com/llvm/llvm-project/commit/46f7929879a59ec72dc75679b4201e2d314efba9 DIFF: https://github.com/llvm/llvm-project/commit/46f7929879a59ec72dc75679b4201e2d314efba9.diff LOG: Revert "Remove llvm/MC/MCAsmLayout.h" This reverts commit 122db8b2cb7fa43ce1d6dc17148080579fcfb55a. Added: llvm/include/llvm/MC/MCAsmLayout.h Modified: clang/docs/tools/clang-formatted-files.txt Removed: ################################################################################ diff --git a/clang/docs/tools/clang-formatted-files.txt b/clang/docs/tools/clang-formatted-files.txt index a8ee8f1fcb87c..4866bd4aee634 100644 --- a/clang/docs/tools/clang-formatted-files.txt +++ b/clang/docs/tools/clang-formatted-files.txt @@ -5357,6 +5357,7 @@ llvm/include/llvm/MC/MCAsmInfoELF.h llvm/include/llvm/MC/MCAsmInfoGOFF.h llvm/include/llvm/MC/MCAsmInfoWasm.h llvm/include/llvm/MC/MCAsmInfoXCOFF.h +llvm/include/llvm/MC/MCAsmLayout.h llvm/include/llvm/MC/MCCodeView.h llvm/include/llvm/MC/MCContext.h llvm/include/llvm/MC/MCFixedLenDisassembler.h diff --git a/llvm/include/llvm/MC/MCAsmLayout.h b/llvm/include/llvm/MC/MCAsmLayout.h new file mode 100644 index 0000000000000..33fae0a0f9766 --- /dev/null +++ b/llvm/include/llvm/MC/MCAsmLayout.h @@ -0,0 +1,22 @@ +//===- MCAsmLayout.h - Assembly Layout Object -------------------*- 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 +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_MC_MCASMLAYOUT_H +#define LLVM_MC_MCASMLAYOUT_H + +namespace llvm { +class MCAssembler; + +class MCAsmLayout { +public: + MCAsmLayout(MCAssembler &) {} +}; + +} // end namespace llvm + +#endif _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits