aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-09-25 16:17:15 -0600
committerTom Tromey <tom@tromey.com>2016-10-21 14:17:37 -0600
commit5841433461e2ce9da41292a49af4cc3c6b1e1f2d (patch)
tree9fd710147a85310e7ed6e618e0c94c93abafa378 /gdb/dwarf2expr.c
parent67ad9399e2a69757f06886ee61ce7f36d15e768a (diff)
downloadgdb-5841433461e2ce9da41292a49af4cc3c6b1e1f2d.zip
gdb-5841433461e2ce9da41292a49af4cc3c6b1e1f2d.tar.gz
gdb-5841433461e2ce9da41292a49af4cc3c6b1e1f2d.tar.bz2
Some cleanup removal in dwarf2loc.c
This removes some cleanups and manual allocation handling in dwarf2loc.c with std::vector. Note that this patch has a case where the vector would normally fall into the "use gdb::unique_ptr" guidelines -- but here because the vector is immediately initialized, I moved the initialization into the constructor call, for further code savings. 2016-10-21 Tom Tromey <tom@tromey.com> * dwarf2loc.c: Include <vector>. (read_pieced_value, write_pieced_value) (dwarf2_compile_expr_to_ax): Use std::vector.
Diffstat (limited to 'gdb/dwarf2expr.c')
0 files changed, 0 insertions, 0 deletions