FreeBSD/contrib/gcc/cp/name-lookup.c
/* Return a string describing the kind of SCOPE we have.  */
Return a string describing the kind of SCOPE we have.
Return a string describing the kind of SCOPE we have .
static const char *
cxx_scope_descriptor (cxx_scope *scope)
{
  static const char* scope_kind_names[] = {
    "block-scope",
    "cleanup-scope",
    "try-scope",
    "catch-scope",
    "for-scope",
    "function-parameter-scope",
    "class-scope",
    "namespace-scope",
    "template-parameter-scope",
    "template-explicit-spec-scope"
  };
  const scope_kind kind = scope->explicit_spec_p
    ? sk_template_spec : scope->kind;
  return scope_kind_names[kind];
}
static const char * cxx_scope_descriptor ( cxx_scope * scope ) { static const char * scope_kind_names [ ] = { " " , " " , " " , " " , " " , " " , " " , " " , " " , " " } ; const scope_kind kind = scope -> explicit_spec_p ? sk_template_spec : scope -> kind ; return scope_kind_names [ kind ] ; }
Return a string describing the kind of SCOPE we have.
Return a string describing the kind of SCOPE we have .
/* The order of this table must match the "scope_kind"
     enumerators.  */