Adjust the placement of parentheses around a pointer dereference in
GetExpressionPath.
The comment states:
*(a_ptr).memberName, which is entirely fine
but the expression should be: (*a_ptr).memberName.
Differential D134011
[lldb] Fix parentheses placement in GetExpressionPath kastiglione on Sep 15 2022, 8:32 PM. Authored by
Details
Adjust the placement of parentheses around a pointer dereference in The comment states:
but the expression should be: (*a_ptr).memberName.
Diff Detail
Event TimelineComment Actions I noticed this when running v *SomeVar and the variable contained a llvm::PointerUnion. The synthetic provider for PointerUnion uses GetExpressionPath. |