[Lldb-commits] [lldb] [LLDB] Add `ScalarLiteralNode` and literal parsing in DIL (PR #152308)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 8 15:40:20 PDT 2025
================
@@ -178,6 +179,40 @@ class BitFieldExtractionNode : public ASTNode {
int64_t m_last_index;
};
+class ScalarLiteralNode : public ASTNode {
+public:
+ ScalarLiteralNode(uint32_t location, Scalar value, uint32_t radix,
+ bool is_unsigned, bool is_long, bool is_longlong)
+ : ASTNode(location, NodeKind::eScalarLiteralNode), m_value(value),
+ m_radix(radix), m_is_unsigned(is_unsigned), m_is_long(is_long),
+ m_is_longlong(is_longlong) {}
----------------
cmtice wrote:
This leaves m_float uninitialized. Not sure if that's a problem?
https://github.com/llvm/llvm-project/pull/152308
More information about the lldb-commits
mailing list