Skip to content

Commit a560d21

Browse files
authored
[unittests] Add missing includes (#65681)
There are missing include and using in TextStubTests and AsmPrinterDwarfTest and they causes build failures when using vanilla GoogleTest v1.14.0. This patch fixes this issue.
1 parent 1ed7108 commit a560d21

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp

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

2121
using namespace llvm;
2222
using testing::_;
23+
using testing::DoAll;
2324
using testing::InSequence;
2425
using testing::SaveArg;
2526

llvm/unittests/TextAPI/TextStubHelpers.h

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

9+
#include "llvm/ADT/SmallString.h"
910
#include "llvm/Support/MemoryBuffer.h"
1011
#include "llvm/TextAPI/InterfaceFile.h"
1112
#include <algorithm>

0 commit comments

Comments
 (0)