[llvm] 56e70fe - MCAsmBackend.h - cleanup includes and forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 09:18:16 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-16T17:13:55+01:00
New Revision: 56e70fe8b73bb59dda959731b66c24c3e88a6ab2
URL: https://github.com/llvm/llvm-project/commit/56e70fe8b73bb59dda959731b66c24c3e88a6ab2
DIFF: https://github.com/llvm/llvm-project/commit/56e70fe8b73bb59dda959731b66c24c3e88a6ab2.diff
LOG: MCAsmBackend.h - cleanup includes and forward declarations. NFC.
Replace StringRef.h include to forward declaration
Remove MCFragment/MCRelaxableFragment forward declarations - these are included in MCFragment.h
Added:
Modified:
llvm/include/llvm/MC/MCAsmBackend.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/MC/MCAsmBackend.h b/llvm/include/llvm/MC/MCAsmBackend.h
index 9b67c920d15b..c24e7c948b84 100644
--- a/llvm/include/llvm/MC/MCAsmBackend.h
+++ b/llvm/include/llvm/MC/MCAsmBackend.h
@@ -11,7 +11,6 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/Optional.h"
-#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCFixup.h"
#include "llvm/MC/MCFragment.h"
@@ -24,15 +23,14 @@ class MCAsmLayout;
class MCAssembler;
class MCCFIInstruction;
struct MCFixupKindInfo;
-class MCFragment;
class MCInst;
class MCObjectStreamer;
class MCObjectTargetWriter;
class MCObjectWriter;
-class MCRelaxableFragment;
class MCSubtargetInfo;
class MCValue;
class raw_pwrite_stream;
+class StringRef;
/// Generic interface to target specific assembler backends.
class MCAsmBackend {
More information about the llvm-commits
mailing list