cmtice 46e2c07fa2
[LLDB] Add DIL code for handling plain variable names. (#120971)
Add the Data Inspection Language (DIL) implementation pieces for
handling plain local and global variable names.

See https://discourse.llvm.org/t/rfc-data-inspection-language/69893 for
information about DIL.

This change includes the basic AST, Lexer, Parser and Evaluator pieces,
as well as some tests.
2025-04-03 21:39:30 -07:00

24 lines
294 B
C++

#include <string>
class C {
public:
int field_ = 1337;
};
class TestMethods {
public:
void TestInstanceVariables() {
C c;
c.field_ = -1;
return; // Set a breakpoint here
}
};
int main(int argc, char **argv) {
TestMethods tm;
tm.TestInstanceVariables();
return 0;
}