Skip to content

Commit cd70254

Browse files
committed
Fix warnings
1 parent f3e3b3f commit cd70254

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

llvm/unittests/Target/DirectX/UniqueResourceFromUseTests.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "DirectXIRPasses/PointerTypeAnalysis.h"
109
#include "DirectXTargetMachine.h"
1110
#include "llvm/Analysis/DXILResource.h"
1211
#include "llvm/AsmParser/Parser.h"
@@ -15,28 +14,15 @@
1514
#include "llvm/IR/LLVMContext.h"
1615
#include "llvm/IR/Module.h"
1716
#include "llvm/IR/Type.h"
18-
#include "llvm/IR/TypedPointerType.h"
19-
#include "llvm/MC/TargetRegistry.h"
2017
#include "llvm/Passes/PassBuilder.h"
2118
#include "llvm/Support/Casting.h"
22-
#include "llvm/Support/CodeGen.h"
2319
#include "llvm/Support/SourceMgr.h"
24-
#include "llvm/Transforms/Utils/Debugify.h"
2520

26-
#include "gmock/gmock.h"
2721
#include "gtest/gtest.h"
28-
#include <optional>
29-
30-
using ::testing::Contains;
31-
using ::testing::Pair;
3222

3323
using namespace llvm;
3424
using namespace llvm::dxil;
3525

36-
template <typename T> struct IsA {
37-
friend bool operator==(const Value *V, const IsA &) { return isa<T>(V); }
38-
};
39-
4026
namespace {
4127
class UniqueResourceFromUseTest : public testing::Test {
4228
protected:

0 commit comments

Comments
 (0)