From 921ae2bfbfd60be06e97f902666b1f342703e414 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316714 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCCodePadder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/MC/MCCodePadder.h b/include/llvm/MC/MCCodePadder.h index b590773d2ed..1e91198597c 100644 --- a/include/llvm/MC/MCCodePadder.h +++ b/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.40.0