Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 8822399

Browse files
committed
Add a few missing headers for modularization/IWYU/etc
Several cases where class definitions are required for DenseMap pointer traits handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316803 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 9875a79 commit 8822399

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
lines changed

include/llvm/MC/MCWasmStreamer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
#ifndef LLVM_MC_MCWASMSTREAMER_H
1111
#define LLVM_MC_MCWASMSTREAMER_H
1212

13+
#include "MCAsmBackend.h"
14+
#include "MCCodeEmitter.h"
1315
#include "llvm/ADT/SmallPtrSet.h"
1416
#include "llvm/MC/MCDirectives.h"
1517
#include "llvm/MC/MCObjectStreamer.h"
1618
#include "llvm/MC/SectionKind.h"
1719
#include "llvm/Support/DataTypes.h"
1820

1921
namespace llvm {
20-
class MCAsmBackend;
2122
class MCAssembler;
22-
class MCCodeEmitter;
2323
class MCExpr;
2424
class MCInst;
2525
class raw_ostream;

include/llvm/PassAnalysisSupport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#ifndef LLVM_PASSANALYSISSUPPORT_H
2020
#define LLVM_PASSANALYSISSUPPORT_H
2121

22+
#include "Pass.h"
2223
#include "llvm/ADT/SmallVector.h"
2324
#include "llvm/ADT/StringRef.h"
2425
#include <cassert>

lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313
#include "llvm/ADT/MapVector.h"
1414
#include "llvm/ADT/SmallVector.h"
15+
#include "llvm/IR/DebugInfoMetadata.h"
1516
#include <utility>
1617

1718
namespace llvm {
1819

1920
class DILocalVariable;
20-
class DILocation;
2121
class MachineFunction;
2222
class MachineInstr;
2323
class TargetRegisterInfo;

lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include "ARMAsmBackend.h"
1414
#include "llvm/BinaryFormat/MachO.h"
15+
#include "llvm/MC/MCObjectWriter.h"
1516

1617
namespace llvm {
1718
class ARMAsmBackendDarwin : public ARMAsmBackend {

lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
#include "ARMAsmBackend.h"
1414
#include "MCTargetDesc/ARMMCTargetDesc.h"
15+
#include "llvm/MC/MCObjectWriter.h"
16+
1517
using namespace llvm;
1618

1719
namespace {

lib/Target/ARM/MCTargetDesc/ARMAsmBackendWinCOFF.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#define LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H
1212

1313
#include "ARMAsmBackend.h"
14+
#include "llvm/MC/MCObjectWriter.h"
1415
using namespace llvm;
1516

1617
namespace {

0 commit comments

Comments
 (0)