Logo
Explore Help
Sign In
encounter/llvm-project
0
0
Fork 0
You've already forked llvm-project
mirror of https://github.com/encounter/llvm-project.git synced 2026-03-30 11:27:19 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
ci
llvm-project/lldb/test/API/python_api/value_var_update/main.c
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
291 B
C
Raw Permalink Normal View History

Improve ValueObject::GetValueDidChange test; Add a comment for it
2015-03-06 22:35:08 +00:00
struct complex_type {
struct { long l; } inner;
struct complex_type *complex_ptr;
};
Fix a problem where ValueObjectVariable was not correctly setting its 'has value changed' flag for scalar valued variables. This fixes rdar://17851144
2014-11-04 21:28:50 +00:00
int main() {
int i = 0;
Improve ValueObject::GetValueDidChange test; Add a comment for it
2015-03-06 22:35:08 +00:00
struct complex_type c = { { 1L }, &c };
Fix a problem where ValueObjectVariable was not correctly setting its 'has value changed' flag for scalar valued variables. This fixes rdar://17851144
2014-11-04 21:28:50 +00:00
for (int j = 3; j < 20; j++)
{
Improve ValueObject::GetValueDidChange test; Add a comment for it
2015-03-06 22:35:08 +00:00
c.inner.l += (i += j);
Fix a problem where ValueObjectVariable was not correctly setting its 'has value changed' flag for scalar valued variables. This fixes rdar://17851144
2014-11-04 21:28:50 +00:00
i = i - 1; // break here
}
return i;
}
Reference in New Issue Copy Permalink
Powered by Gitea Page: 9292ms Template: 43ms
Auto
English
English
Licenses API