Skip to content

Commit 9f9dd6b

Browse files
committed
Wrap local type declarations in anonymous namespace to fix modules build.
1 parent 79a2e2b commit 9f9dd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ using namespace lldb_private;
3535

3636
LLDB_PLUGIN_DEFINE(JITLoaderGDB)
3737

38+
namespace {
3839
// Debug Interface Structures
3940
enum jit_actions_t { JIT_NOACTION = 0, JIT_REGISTER_FN, JIT_UNREGISTER_FN };
4041

@@ -52,7 +53,6 @@ template <typename ptr_t> struct jit_descriptor {
5253
ptr_t first_entry; // pointer
5354
};
5455

55-
namespace {
5656
enum EnableJITLoaderGDB {
5757
eEnableJITLoaderGDBDefault,
5858
eEnableJITLoaderGDBOn,

0 commit comments

Comments
 (0)