[llvm] 60765e9 - X86MCTargetDesc.h - remove unnecessary includes and forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 19 06:29:59 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-19T14:29:35+01:00
New Revision: 60765e911d20bf0014f55a562e82eb1e5ae3e697
URL: https://github.com/llvm/llvm-project/commit/60765e911d20bf0014f55a562e82eb1e5ae3e697
DIFF: https://github.com/llvm/llvm-project/commit/60765e911d20bf0014f55a562e82eb1e5ae3e697.diff
LOG: X86MCTargetDesc.h - remove unnecessary includes and forward declarations. NFC.
Added:
Modified:
llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h b/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
index 0c789061f0e1..4bcea2bc54a1 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
@@ -13,7 +13,6 @@
#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
-#include "llvm/MC/MCRegister.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/DataTypes.h"
#include <string>
@@ -25,15 +24,13 @@ class MCContext;
class MCInstrInfo;
class MCObjectTargetWriter;
class MCObjectWriter;
+class MCRegister;
class MCRegisterInfo;
class MCSubtargetInfo;
-class MCRelocationInfo;
class MCTargetOptions;
class Target;
class Triple;
class StringRef;
-class raw_ostream;
-class raw_pwrite_stream;
/// Flavour of dwarf regnumbers
///
More information about the llvm-commits
mailing list