[Lldb-commits] [PATCH] D150303: [LLDB] Add some declarations related to REPL support for mojo
walter erquinigo via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 10 13:42:59 PDT 2023
wallace created this revision.
Herald added a project: All.
wallace requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
This simple diff declares some enum values needed to create a REPL for the mojo language.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150303
Files:
lldb/include/lldb/Expression/ExpressionTypeSystemHelper.h
lldb/include/lldb/Expression/ExpressionVariable.h
lldb/include/lldb/Expression/REPL.h
Index: lldb/include/lldb/Expression/REPL.h
===================================================================
--- lldb/include/lldb/Expression/REPL.h
+++ lldb/include/lldb/Expression/REPL.h
@@ -21,7 +21,7 @@
class REPL : public IOHandlerDelegate {
public:
// See TypeSystem.h for how to add subclasses to this.
- enum LLVMCastKind { eKindClang, eKindSwift, eKindGo, kNumKinds };
+ enum LLVMCastKind { eKindClang, eKindSwift, eKindGo, eKindMojo, kNumKinds };
LLVMCastKind getKind() const { return m_kind; }
Index: lldb/include/lldb/Expression/ExpressionVariable.h
===================================================================
--- lldb/include/lldb/Expression/ExpressionVariable.h
+++ lldb/include/lldb/Expression/ExpressionVariable.h
@@ -25,7 +25,7 @@
: public std::enable_shared_from_this<ExpressionVariable> {
public:
// See TypeSystem.h for how to add subclasses to this.
- enum LLVMCastKind { eKindClang, eKindSwift, eKindGo, kNumKinds };
+ enum LLVMCastKind { eKindClang, eKindSwift, eKindGo, eKindMojo, kNumKinds };
LLVMCastKind getKind() const { return m_kind; }
@@ -203,7 +203,7 @@
class PersistentExpressionState : public ExpressionVariableList {
public:
// See TypeSystem.h for how to add subclasses to this.
- enum LLVMCastKind { eKindClang, eKindSwift, eKindGo, kNumKinds };
+ enum LLVMCastKind { eKindClang, eKindSwift, eKindGo, eKindMojo, kNumKinds };
LLVMCastKind getKind() const { return m_kind; }
Index: lldb/include/lldb/Expression/ExpressionTypeSystemHelper.h
===================================================================
--- lldb/include/lldb/Expression/ExpressionTypeSystemHelper.h
+++ lldb/include/lldb/Expression/ExpressionTypeSystemHelper.h
@@ -29,6 +29,7 @@
eKindClangHelper,
eKindSwiftHelper,
eKindGoHelper,
+ eKindMojoHelper,
kNumKinds
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150303.521096.patch
Type: text/x-patch
Size: 1852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230510/c8972eb6/attachment.bin>
More information about the lldb-commits
mailing list