[D] Support D style sizeof and typeof expressions.
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 8 Oct 2015 19:38:05 +0000 (21:38 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 8 Oct 2015 19:42:36 +0000 (21:42 +0200)
commitd5d8c4e12b220068fb0b2047b63562d3f9903e91
tree614ae9c7a43abd282c7887310e6c22b31f2eb4f9
parent4e7de1556a25a3a31c53ea2242b1d9a5c103dd16
[D] Support D style sizeof and typeof expressions.

gdb/ChangeLog:

* d-exp.y: (UnaryExpression): Support `type.sizeof' expressions.
(PostfixExpression): Support `expr.sizeof' expressions.
(PrimaryExpression): Support `typeof(expr)' expressions.

gdb/testsuite/ChangeLog:

* gdb.dlang/properties.exp: New file.
gdb/ChangeLog
gdb/d-exp.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dlang/properties.exp [new file with mode: 0644]