From 122db8b2cb7fa43ce1d6dc17148080579fcfb55a Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 1 Jul 2024 19:07:59 -0700 Subject: [PATCH] Remove llvm/MC/MCAsmLayout.h This complete the MCAsmLayout removal work started by 67957a45ee1ec42ae1671cdbfa0d73127346cc95. --- clang/docs/tools/clang-formatted-files.txt | 1 - llvm/include/llvm/MC/MCAsmLayout.h | 22 ---------------------- 2 files changed, 23 deletions(-) delete mode 100644 llvm/include/llvm/MC/MCAsmLayout.h diff --git a/clang/docs/tools/clang-formatted-files.txt b/clang/docs/tools/clang-formatted-files.txt index 4866bd4aee634f..a8ee8f1fcb87c2 100644 --- a/clang/docs/tools/clang-formatted-files.txt +++ b/clang/docs/tools/clang-formatted-files.txt @@ -5357,7 +5357,6 @@ 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 deleted file mode 100644 index 33fae0a0f97667..00000000000000 --- a/llvm/include/llvm/MC/MCAsmLayout.h +++ /dev/null @@ -1,22 +0,0 @@ -//===- 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