cdt-gdb-adapter icon indicating copy to clipboard operation
cdt-gdb-adapter copied to clipboard

Remove parenthesis cleanup & extra getFullPathExpression() calls

Open WyoTwT opened this issue 1 year ago • 0 comments

The total removal of parenthesis removes casting parenthesis and breaks potential watch expressions so this cleanup should be removed. Instead of calling getFullPathExpression() multiple times, built the fullPath from the topLevelExpression variable. In the case of Expressions, add encapsulating parenthesis to handle type casting properly. Update casting tests accordingly.

WyoTwT avatar Dec 13 '23 19:12 WyoTwT