This is an archive of the discontinued LLVM Phabricator instance.

Support expressions in the context of a reference
ClosedPublic

Authored by emrekultursay on Jun 18 2022, 2:31 PM.

Details

Summary

...type variable by dereferencing the variable before
evaluating the expression.

Diff Detail

Event Timeline

emrekultursay created this revision.Jun 18 2022, 2:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2022, 2:31 PM
emrekultursay requested review of this revision.Jun 18 2022, 2:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2022, 2:31 PM
labath accepted this revision.Jun 19 2022, 11:17 PM
labath added inline comments.
lldb/test/API/commands/expression/context-object/TestContextObject.py
20–21

wrap this in something like: for obj in "cpp_struct","cpp_struct_ref" instead of duplicating everything?

This revision is now accepted and ready to land.Jun 19 2022, 11:17 PM

Use loop instead of code duplication in test

emrekultursay marked an inline comment as done.Jun 20 2022, 12:21 PM

Thanks. Please submit the change on my behalf.

This revision was automatically updated to reflect the committed changes.