Replace a forward declaration with an #include.

When building with modules the forward-declared inner class
DebugLocStream::ListBuilder causes clang to fall over.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2015-10-15 20:58:55 +00:00
parent 06f1d96236
commit fcef8fb3bb

View File

@ -9,6 +9,8 @@
#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DEBUGLOCENTRY_H
#define LLVM_LIB_CODEGEN_ASMPRINTER_DEBUGLOCENTRY_H
#include "DebugLocStream.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfo.h"
@ -17,7 +19,6 @@
namespace llvm {
class AsmPrinter;
class DebugLocStream;
/// \brief This struct describes location entries emitted in the .debug_loc
/// section.