[llvm] c741dfe - X86MCTargetDesc.h - replace FormattedStream.h include with forward declaration. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 09:45:59 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-23T17:42:51+01:00
New Revision: c741dfe325d7d23e91461df86ff1b54c9b0dc047
URL: https://github.com/llvm/llvm-project/commit/c741dfe325d7d23e91461df86ff1b54c9b0dc047
DIFF: https://github.com/llvm/llvm-project/commit/c741dfe325d7d23e91461df86ff1b54c9b0dc047.diff
LOG: X86MCTargetDesc.h - replace FormattedStream.h include with forward declaration. 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 2359bd5aa7b9..c8a143b1a003 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
@@ -14,10 +14,11 @@
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
#include "llvm/Support/DataTypes.h"
-#include "llvm/Support/FormattedStream.h"
+#include <memory>
#include <string>
namespace llvm {
+class formatted_raw_ostream;
class MCAsmBackend;
class MCCodeEmitter;
class MCContext;
More information about the llvm-commits
mailing list