Convert location_spec_type to a method

This converts location_spec_type to location_spec::type().

Change-Id: Iff4cbfafb1cf3d22adfa142ff939b4a148e52273
This commit is contained in:
Pedro Alves
2022-05-27 16:33:56 +01:00
parent 238dc9af03
commit 7464aeaab4
5 changed files with 25 additions and 31 deletions

View File

@@ -3062,7 +3062,7 @@ location_spec_to_sals (linespec_parser *parser,
{
std::vector<symtab_and_line> result;
switch (location_spec_type (locspec))
switch (locspec->type ())
{
case LINESPEC_LOCATION_SPEC:
{