[llvm] f02f347 - AsmPrinter.h - reduce includes to forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 27 02:05:09 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-27T10:03:33+01:00
New Revision: f02f3470de9f9a65a9a348faefcb74cc21d1fb35
URL: https://github.com/llvm/llvm-project/commit/f02f3470de9f9a65a9a348faefcb74cc21d1fb35
DIFF: https://github.com/llvm/llvm-project/commit/f02f3470de9f9a65a9a348faefcb74cc21d1fb35.diff
LOG: AsmPrinter.h - reduce includes to forward declarations. NFC.
Added:
Modified:
llvm/include/llvm/CodeGen/AsmPrinter.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h
index 5d91c623739c..eb313ac1eb8c 100644
--- a/llvm/include/llvm/CodeGen/AsmPrinter.h
+++ b/llvm/include/llvm/CodeGen/AsmPrinter.h
@@ -17,8 +17,6 @@
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/Twine.h"
#include "llvm/CodeGen/AsmPrinterHandler.h"
#include "llvm/CodeGen/DwarfStringPoolEntry.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
@@ -70,8 +68,10 @@ class MDNode;
class Module;
class raw_ostream;
class StackMaps;
+class StringRef;
class TargetLoweringObjectFile;
class TargetMachine;
+class Twine;
namespace remarks {
class RemarkStreamer;
More information about the llvm-commits
mailing list