Skip to content

Commit 2e4ec0d

Browse files
serge-sans-paillememfrob
authored andcommitted
[iwyu] Handle regressions in libLLVM header include
Running iwyu-diff on LLVM codebase since 7030654296a0416bd9402a0278 detected a few regressions, fixing them. Differential Revision: https://reviews.llvm.org/D126417
1 parent 4bfd95b commit 2e4ec0d

File tree

11 files changed

+2
-11
lines changed

11 files changed

+2
-11
lines changed

llvm/include/llvm/FuzzMutate/FuzzerCLI.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include "llvm/Support/DataTypes.h"
1818
#include <stddef.h>
19-
#include <memory>
2019

2120
namespace llvm {
2221

llvm/lib/Analysis/ModelUnderTrainingRunner.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//
1212
//===----------------------------------------------------------------------===//
1313

14-
#include "llvm/Analysis/TensorSpec.h"
1514
#include "llvm/Config/config.h"
1615
#if defined(LLVM_HAVE_TF_API)
1716

llvm/lib/CodeGen/GlobalISel/Utils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "llvm/CodeGen/GlobalISel/GenericMachineInstrs.h"
1919
#include "llvm/CodeGen/GlobalISel/LostDebugLocObserver.h"
2020
#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"
21-
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
2221
#include "llvm/CodeGen/MachineInstr.h"
2322
#include "llvm/CodeGen/MachineInstrBuilder.h"
2423
#include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h"

llvm/lib/CodeGen/TypePromotion.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include "llvm/IR/Instructions.h"
3232
#include "llvm/IR/Type.h"
3333
#include "llvm/IR/Value.h"
34-
#include "llvm/IR/Verifier.h"
3534
#include "llvm/InitializePasses.h"
3635
#include "llvm/Pass.h"
3736
#include "llvm/Support/Casting.h"

llvm/lib/Support/BinaryStreamWriter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "llvm/Support/BinaryStreamWriter.h"
1010

11-
#include "llvm/Support/BinaryStreamError.h"
1211
#include "llvm/Support/BinaryStreamReader.h"
1312
#include "llvm/Support/BinaryStreamRef.h"
1413
#include "llvm/Support/LEB128.h"

llvm/lib/TableGen/Record.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "llvm/Support/Casting.h"
2525
#include "llvm/Support/Compiler.h"
2626
#include "llvm/Support/ErrorHandling.h"
27-
#include "llvm/Support/ManagedStatic.h"
2827
#include "llvm/Support/SMLoc.h"
2928
#include "llvm/Support/raw_ostream.h"
3029
#include "llvm/TableGen/Error.h"

llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "llvm/MC/MCTargetOptions.h"
2727
#include "llvm/MC/MCValue.h"
2828
#include "llvm/MC/TargetRegistry.h"
29-
#include "llvm/Support/EndianStream.h"
3029
#include "llvm/Support/ErrorHandling.h"
3130
using namespace llvm;
3231

llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "llvm/IR/DataLayout.h"
1616
#include "llvm/IR/GlobalValue.h"
1717
#include "llvm/IR/GlobalVariable.h"
18-
#include "llvm/IR/Module.h"
18+
#include "llvm/IR/Function.h"
1919

2020
namespace llvm {
2121

llvm/lib/Transforms/Coroutines/CoroCleanup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "llvm/IR/IRBuilder.h"
1212
#include "llvm/IR/InstIterator.h"
1313
#include "llvm/IR/PassManager.h"
14-
#include "llvm/Pass.h"
14+
#include "llvm/IR/Function.h"
1515
#include "llvm/Transforms/Scalar/SimplifyCFG.h"
1616

1717
using namespace llvm;

llvm/lib/Transforms/Coroutines/CoroFrame.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include "llvm/IR/IRBuilder.h"
2929
#include "llvm/IR/InstIterator.h"
3030
#include "llvm/IR/IntrinsicInst.h"
31-
#include "llvm/Support/CommandLine.h"
3231
#include "llvm/Support/Debug.h"
3332
#include "llvm/Support/MathExtras.h"
3433
#include "llvm/Support/OptimizedStructLayout.h"

0 commit comments

Comments
 (0)