aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-logical-location.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-logical-location.cc')
-rw-r--r--gcc/tree-logical-location.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-logical-location.cc b/gcc/tree-logical-location.cc
index 1b2702f..1d0cc58 100644
--- a/gcc/tree-logical-location.cc
+++ b/gcc/tree-logical-location.cc
@@ -90,18 +90,18 @@ tree_logical_location_manager::get_kind (key k) const
switch (TREE_CODE (node))
{
default:
- return LOGICAL_LOCATION_KIND_UNKNOWN;
+ return logical_location_kind::unknown;
case FUNCTION_DECL:
- return LOGICAL_LOCATION_KIND_FUNCTION;
+ return logical_location_kind::function;
case PARM_DECL:
- return LOGICAL_LOCATION_KIND_PARAMETER;
+ return logical_location_kind::parameter;
case VAR_DECL:
- return LOGICAL_LOCATION_KIND_VARIABLE;
+ return logical_location_kind::variable;
case NAMESPACE_DECL:
- return LOGICAL_LOCATION_KIND_NAMESPACE;
+ return logical_location_kind::namespace_;
case RECORD_TYPE:
- return LOGICAL_LOCATION_KIND_TYPE;
+ return logical_location_kind::type;
}
}