From bd37bc3336e6237bfa70a79a785406355883765b Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 26 Oct 2017 23:39:52 +0000 Subject: [PATCH] MCCodePadder.h: Include definition of type for use with DenseMap Pointer traits require a full definition of a type to function correctly, so the header must be included rather than only a forward declaration. llvm-svn: 316714 --- llvm/include/llvm/MC/MCCodePadder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/MC/MCCodePadder.h b/llvm/include/llvm/MC/MCCodePadder.h index b590773..1e91198 100644 --- a/llvm/include/llvm/MC/MCCodePadder.h +++ b/llvm/include/llvm/MC/MCCodePadder.h @@ -10,6 +10,7 @@ #ifndef LLVM_MC_MCCODEPADDER_H #define LLVM_MC_MCCODEPADDER_H +#include "MCFragment.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallVector.h" @@ -21,7 +22,6 @@ class MCCodePaddingPolicy; class MCFragment; class MCInst; class MCObjectStreamer; -class MCPaddingFragment; class MCSection; typedef SmallVector MCPFRange; -- 2.7.4