From 9d50e82fb2324621dcdd43f68e08ae2d775378c3 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Sun, 24 May 2015 16:54:59 +0000 Subject: [PATCH] AsmPrinter: Prune an include, NFC llvm-svn: 238121 --- llvm/lib/CodeGen/AsmPrinter/DwarfFile.h | 1 + llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp | 1 + llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h index 27e6ff6..532ed96 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h @@ -32,6 +32,7 @@ class LexicalScope; class StringRef; class DwarfDebug; class MCSection; +class MDNode; class DwarfFile { // Target of Dwarf emission, used for sizing of abbreviations. AsmPrinter *Asm; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp index 9dd233a..29cae87 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "DwarfStringPool.h" +#include "llvm/CodeGen/AsmPrinter.h" #include "llvm/MC/MCStreamer.h" using namespace llvm; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h index 4b9a2aa..b042350 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h @@ -11,13 +11,13 @@ #define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFSTRINGPOOL_H #include "llvm/ADT/StringMap.h" -#include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/DwarfStringPoolEntry.h" #include "llvm/Support/Allocator.h" #include namespace llvm { +class AsmPrinter; class MCSymbol; class MCSection; class StringRef; -- 2.7.4