Andrew Burgess
820ed8af6a
gdb: add operator+= and operator+ overload for std::string
...
This commit adds operator+= and operator+ overloads for adding
gdb::unique_xmalloc_ptr<char> to a std::string. I could only find 3
places in GDB where this was useful right now, and these all make use
of operator+=.
I've also added a self test for gdb::unique_xmalloc_ptr<char>, which
makes use of both operator+= and operator+, so they are both getting
used/tested.
There should be no user visible changes after this commit, except when
running 'maint selftest', where the new self test is visible.
2022-02-25 17:50:22 +00:00
..
2022-01-01 19:13:23 +04:00
2020-03-05 15:59:22 +01:00
2022-01-13 10:25:45 +00:00
2020-10-31 08:30:57 -04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-18 10:14:42 -07:00
2022-01-01 19:13:23 +04:00
2021-07-26 12:20:33 +01:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-13 10:25:45 +00:00
2021-11-09 08:21:18 -07:00
2022-02-22 11:22:14 -08:00
2022-02-22 11:22:14 -08:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-02-22 11:22:14 -08:00
2022-02-22 11:22:14 -08:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-18 10:14:42 -07:00
2022-01-18 10:14:42 -07:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-20 22:58:21 -05:00
2022-01-18 10:14:43 -07:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-02-25 17:50:22 +00:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-18 10:14:43 -07:00
2022-01-18 10:14:43 -07:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-02-22 11:22:14 -08:00
2022-02-22 11:22:14 -08:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-04 10:28:19 +00:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-13 10:25:45 +00:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00