[clang] 122db8b - Remove llvm/MC/MCAsmLayout.h

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 1 19:08:06 PDT 2024


Author: Fangrui Song
Date: 2024-07-01T19:07:59-07:00
New Revision: 122db8b2cb7fa43ce1d6dc17148080579fcfb55a

URL: https://github.com/llvm/llvm-project/commit/122db8b2cb7fa43ce1d6dc17148080579fcfb55a
DIFF: https://github.com/llvm/llvm-project/commit/122db8b2cb7fa43ce1d6dc17148080579fcfb55a.diff

LOG: Remove llvm/MC/MCAsmLayout.h

This complete the MCAsmLayout removal work started by 67957a45ee1ec42ae1671cdbfa0d73127346cc95.

Added: 
    

Modified: 
    clang/docs/tools/clang-formatted-files.txt

Removed: 
    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 4866bd4aee634..a8ee8f1fcb87c 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 33fae0a0f9766..0000000000000
--- 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


        


More information about the cfe-commits mailing list