[Lldb-commits] [lldb] [LLDB] Add `ScalarLiteralNode` and literal parsing in DIL (PR #152308)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 14 06:06:23 PDT 2025
================
@@ -178,6 +179,54 @@ class BitFieldExtractionNode : public ASTNode {
int64_t m_last_index;
};
+class IntegerLiteralNode : public ASTNode {
+public:
+ IntegerLiteralNode(uint32_t location, llvm::APInt value, uint32_t radix,
+ bool is_unsigned, bool is_long, bool is_longlong)
+ : ASTNode(location, NodeKind::eScalarLiteralNode), m_value(value),
----------------
labath wrote:
```suggestion
: ASTNode(location, NodeKind::eScalarLiteralNode), m_value(std::move(value)),
```
https://github.com/llvm/llvm-project/pull/152308
More information about the lldb-commits
mailing list