From a560d219dbecbd3489c5ab25ee0cfeb3fb761bc3 Mon Sep 17 00:00:00 2001 From: Zero Omega Date: Fri, 8 Sep 2023 12:10:37 -0700 Subject: [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. --- llvm/unittests/TextAPI/TextStubHelpers.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/unittests/TextAPI') 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 -- cgit v1.1