Remove a static buffer from cp-name-parser.y
authorTom Tromey <tom@tromey.com>
Thu, 24 May 2018 03:05:52 +0000 (21:05 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 1 Jun 2018 16:46:47 +0000 (10:46 -0600)
This removes a static buffer from cp-name-parser.y by replacing the
fixed-sized buffer with a std::string out parameter.

gdb/ChangeLog
2018-06-01  Tom Tromey  <tom@tromey.com>

* python/py-type.c (typy_legacy_template_argument): Update.
* cp-support.h (cp_demangled_name_to_comp): Update.
* cp-name-parser.y (cp_demangled_name_to_comp): Change errmsg
parameter to be a "std::string *".
(main): Update.


No differences found
This page took 0.023362 seconds and 4 git commands to generate.