diff options
author | Tom Tromey <tom@tromey.com> | 2021-10-25 18:20:24 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-12-12 10:56:38 -0700 |
commit | abb6af934c54e386c2bca8d725a496f239a9bac2 (patch) | |
tree | a3e838775742acfc3ebc044c7aec6018f8370943 /gdb/f-array-walker.h | |
parent | 2749ac133972d027fe9482acc81f6e88c4f36812 (diff) | |
download | gdb-abb6af934c54e386c2bca8d725a496f239a9bac2.zip gdb-abb6af934c54e386c2bca8d725a496f239a9bac2.tar.gz gdb-abb6af934c54e386c2bca8d725a496f239a9bac2.tar.bz2 |
C++-ify path substitution code
I found some uses of xfree in the path substitution code in source.c.
C++-ifying struct substitute_path_rule both simplifies the code and
removes manual memory management.
Regression tested on x86-64 Fedora 34.
Diffstat (limited to 'gdb/f-array-walker.h')
0 files changed, 0 insertions, 0 deletions