[llvm] 93a33ba - RecordStreamer.h - cleanup includes and forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 07:07:36 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-22T15:07:18+01:00
New Revision: 93a33bab60b29d3eed58141c3471c41a5b1bf800
URL: https://github.com/llvm/llvm-project/commit/93a33bab60b29d3eed58141c3471c41a5b1bf800
DIFF: https://github.com/llvm/llvm-project/commit/93a33bab60b29d3eed58141c3471c41a5b1bf800.diff
LOG: RecordStreamer.h - cleanup includes and forward declarations. NFC.
Reduce MCSymbol.h include to forward declaration.
Remove unused GlobalValue foward declaration.
Added:
Modified:
llvm/lib/Object/RecordStreamer.h
Removed:
################################################################################
diff --git a/llvm/lib/Object/RecordStreamer.h b/llvm/lib/Object/RecordStreamer.h
index 91d272354bc0..99d15f790a15 100644
--- a/llvm/lib/Object/RecordStreamer.h
+++ b/llvm/lib/Object/RecordStreamer.h
@@ -13,13 +13,12 @@
#include "llvm/ADT/StringMap.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCStreamer.h"
-#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/SMLoc.h"
#include <vector>
namespace llvm {
-class GlobalValue;
+class MCSymbol;
class Module;
class RecordStreamer : public MCStreamer {
More information about the llvm-commits
mailing list