aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/TextAPI
diff options
context:
space:
mode:
authorZero Omega <haowei@google.com>2023-09-08 12:10:37 -0700
committerGitHub <noreply@github.com>2023-09-08 12:10:37 -0700
commita560d219dbecbd3489c5ab25ee0cfeb3fb761bc3 (patch)
tree935e9863e618ff253462a3530eb96a58ed9414d6 /llvm/unittests/TextAPI
parent1ed710836a77a5a29f3649da87f9f3e8ae3aa086 (diff)
downloadllvm-a560d219dbecbd3489c5ab25ee0cfeb3fb761bc3.zip
llvm-a560d219dbecbd3489c5ab25ee0cfeb3fb761bc3.tar.gz
llvm-a560d219dbecbd3489c5ab25ee0cfeb3fb761bc3.tar.bz2
[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.
Diffstat (limited to 'llvm/unittests/TextAPI')
-rw-r--r--llvm/unittests/TextAPI/TextStubHelpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/TextAPI/TextStubHelpers.h b/llvm/unittests/TextAPI/TextStubHelpers.h
index f3303da..f8409b1 100644
--- a/llvm/unittests/TextAPI/TextStubHelpers.h
+++ b/llvm/unittests/TextAPI/TextStubHelpers.h
@@ -6,6 +6,7 @@
//
//===-----------------------------------------------------------------------===/
+#include "llvm/ADT/SmallString.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/TextAPI/InterfaceFile.h"
#include <algorithm>