diff options
author | Tom Tromey <tom@tromey.com> | 2016-09-25 16:17:15 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-10-21 14:17:37 -0600 |
commit | 5841433461e2ce9da41292a49af4cc3c6b1e1f2d (patch) | |
tree | 9fd710147a85310e7ed6e618e0c94c93abafa378 /gdb/dwarf2expr.c | |
parent | 67ad9399e2a69757f06886ee61ce7f36d15e768a (diff) | |
download | gdb-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