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

via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 13:03:27 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Chelsea Cassanova (chelcassanova)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/111907.diff


1 Files Affected:

- (modified) lldb/include/lldb/lldb-enumerations.h (+1) 


``````````diff
diff --git a/lldb/include/lldb/lldb-enumerations.h b/lldb/include/lldb/lldb-enumerations.h
index 938f6e3abe8f2a..df3aadcb0689c6 100644
--- a/lldb/include/lldb/lldb-enumerations.h
+++ b/lldb/include/lldb/lldb-enumerations.h
@@ -11,6 +11,7 @@
 
 #include <cstdint>
 #include <type_traits>
+#include <lldb/API/SBLanguages.h>
 
 #ifndef SWIG
 // Macro to enable bitmask operations on an enum.  Without this, Enum | Enum

``````````

</details>


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


More information about the lldb-commits mailing list