[llvm] 44cf9b8 - X86MCAsmInfo.h - remove unnecessary MCAsmInfo.h include. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 03:41:32 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-20T11:39:38+01:00
New Revision: 44cf9b85ad06691ecb8a267eb34ca8d777fbd9c6

URL: https://github.com/llvm/llvm-project/commit/44cf9b85ad06691ecb8a267eb34ca8d777fbd9c6
DIFF: https://github.com/llvm/llvm-project/commit/44cf9b85ad06691ecb8a267eb34ca8d777fbd9c6.diff

LOG: X86MCAsmInfo.h - remove unnecessary MCAsmInfo.h include. NFC.
We only use the COFF/Darwin/ELF classes directly.

Added: 
    

Modified: 
    llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h b/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
index 5dfb89196e83..ce8e84fb96b9 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
@@ -13,7 +13,6 @@
 #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
 #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
 
-#include "llvm/MC/MCAsmInfo.h"
 #include "llvm/MC/MCAsmInfoCOFF.h"
 #include "llvm/MC/MCAsmInfoDarwin.h"
 #include "llvm/MC/MCAsmInfoELF.h"


        


More information about the llvm-commits mailing list