-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[LLDB] Add ScalarLiteralNode and literal parsing in DIL
#152308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6c8013a
b355c88
1320777
902f72a
bfed95b
6989af6
967549e
5eb7dc2
45498a4
199dd80
f5fffc8
a172686
1882999
6a06470
cd9dfc6
8d44b9d
0a7aa2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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> | ||
|
||
| PickIntegerType(lldb::TypeSystemSP type_system, | ||
| std::shared_ptr<ExecutionContextScope> ctx, | ||
| const IntegerLiteralNode *literal); | ||
|
|
||
| // Used by the interpreter to create objects, perform casts, etc. | ||
| lldb::TargetSP m_target; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use 'integer_literal' here, rather than repeating the integer literal definition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it's just a leftover from the subscript node that still directly parses a signed integer, it'll be removed later