[Lldb-commits] [lldb] [LLDB] Add `ScalarLiteralNode` and literal parsing in DIL (PR #152308)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 14 06:25:57 PDT 2025


================
@@ -54,6 +54,15 @@ class Interpreter : Visitor {
   Visit(const ArraySubscriptNode *node) override;
   llvm::Expected<lldb::ValueObjectSP>
   Visit(const BitFieldExtractionNode *node) override;
+  llvm::Expected<lldb::ValueObjectSP>
+  Visit(const IntegerLiteralNode *node) override;
+  llvm::Expected<lldb::ValueObjectSP>
+  Visit(const FloatLiteralNode *node) override;
+
+  llvm::Expected<CompilerType>
----------------
Michael137 wrote:

Should we leave a comment saying that this is not copied from any particular integer promotion rules, and specific to the DIL DSL?

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


More information about the lldb-commits mailing list