OSDN Git Service

* cp-support.c (cp_class_name_from_physname): Rewrite.
authorDaniel Jacobowitz <dan@debian.org>
Sat, 26 Mar 2005 21:56:46 +0000 (21:56 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Sat, 26 Mar 2005 21:56:46 +0000 (21:56 +0000)
commite41e76d0cd777393648fd63b149adfde34530453
tree0ade59c9ed58285b71ede33b59476eab55c75a4c
parent61762cc80211370c0817c70f3ba9d187722e9314
* cp-support.c (cp_class_name_from_physname): Rewrite.
(unqualified_name_from_comp): New function, broken out from
method_name_from_physname.  Correct handling for typed names
and templates.
(method_name_from_physname): Use unqualified_name_from_comp.
(cp_func_name, remove_params): Move earlier in the file.  Add
better comments.  Use the component tree to parse the name.
(_initialize_cp_support): Remove stray whitespace.
gdb/ChangeLog
gdb/cp-support.c