[Lldb-commits] [lldb] [lldb] Add include for SBLanguages in lldb-enumerations (PR #111907)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 13:10:09 PDT 2024


https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/111907

>From e4393924a46dc62f2edfae5675b48002042f2032 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: Thu, 10 Oct 2024 12:58:06 -0700
Subject: [PATCH] [lldb] Add include for SBLanguages in lldb-enumerations

This adds an include for SBLanguages.h in lldb-enumerations.h so that
files that need this enum do not have to explicitly include SBLanguages.
---
 lldb/include/lldb/lldb-enumerations.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lldb/include/lldb/lldb-enumerations.h b/lldb/include/lldb/lldb-enumerations.h
index 938f6e3abe8f2a..4a7ae7b1ed7d73 100644
--- a/lldb/include/lldb/lldb-enumerations.h
+++ b/lldb/include/lldb/lldb-enumerations.h
@@ -12,6 +12,8 @@
 #include <cstdint>
 #include <type_traits>
 
+#include <lldb/API/SBLanguages.h>
+
 #ifndef SWIG
 // Macro to enable bitmask operations on an enum.  Without this, Enum | Enum
 // gets promoted to an int, so you have to say Enum a = Enum(eFoo | eBar).  If



More information about the lldb-commits mailing list