From b7efb4f424f5ba6ff8511e2c1d144692a54bfc01 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 5 Jan 2021 19:54:06 -0800 Subject: [PATCH] Include llvm header before using llvm::make_scope_exit. --- lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp index 68325c937f75f..aab846a5459b5 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp @@ -35,6 +35,8 @@ #include "clang/APINotes/APINotesManager.h" #include "clang/APINotes/APINotesReader.h" +#include "llvm/ADT/ScopeExit.h" + #include #include