Commit eab03d5a by Bernardo Innocenti Committed by Bernardo Innocenti

decl.c: Rename all identifiers named `class' to `cl'.

	* decl.c: Rename all identifiers named `class' to `cl'.
	* cp-tree.h: Likewise.

From-SVN: r85151
parent 99dd239f
2004-07-25 Bernardo Innocenti <bernie@develer.com>
* decl.c: Rename all identifiers named `class' to `cl'.
* cp-tree.h: Likewise.
2004-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net> 2004-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
* cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Use GGC_CNEW. * cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Use GGC_CNEW.
......
...@@ -3744,8 +3744,10 @@ extern tree declare_global_var (tree, tree); ...@@ -3744,8 +3744,10 @@ extern tree declare_global_var (tree, tree);
extern void register_dtor_fn (tree); extern void register_dtor_fn (tree);
extern tmpl_spec_kind current_tmpl_spec_kind (int); extern tmpl_spec_kind current_tmpl_spec_kind (int);
extern tree cp_fname_init (const char *, tree *); extern tree cp_fname_init (const char *, tree *);
extern tree builtin_function (const char *, tree, int, enum built_in_class, extern tree builtin_function (const char *name, tree type,
const char *, tree); int code,
enum built_in_class cl,
const char *libname, tree attrs);
extern tree check_elaborated_type_specifier (enum tag_types, tree, bool); extern tree check_elaborated_type_specifier (enum tag_types, tree, bool);
extern void warn_extern_redeclared_static (tree, tree); extern void warn_extern_redeclared_static (tree, tree);
extern bool cp_missing_noreturn_ok_p (tree); extern bool cp_missing_noreturn_ok_p (tree);
......
...@@ -67,8 +67,9 @@ static tree grokfndecl (tree, tree, tree, tree, tree, int, ...@@ -67,8 +67,9 @@ static tree grokfndecl (tree, tree, tree, tree, tree, int,
static tree grokvardecl (tree, tree, const cp_decl_specifier_seq *, static tree grokvardecl (tree, tree, const cp_decl_specifier_seq *,
int, int, tree); int, int, tree);
static void record_unknown_type (tree, const char *); static void record_unknown_type (tree, const char *);
static tree builtin_function_1 (const char *, tree, tree, int, static tree builtin_function_1 (const char *, tree, tree,
enum built_in_class, const char *, enum built_in_function code,
enum built_in_class cl, const char *,
tree); tree);
static tree build_library_fn_1 (tree, enum tree_code, tree); static tree build_library_fn_1 (tree, enum tree_code, tree);
static int member_function_or_else (tree, tree, enum overload_flags); static int member_function_or_else (tree, tree, enum overload_flags);
...@@ -3162,7 +3163,7 @@ static tree ...@@ -3162,7 +3163,7 @@ static tree
builtin_function_1 (const char* name, builtin_function_1 (const char* name,
tree type, tree type,
tree context, tree context,
int code, enum built_in_function code,
enum built_in_class class, enum built_in_class class,
const char* libname, const char* libname,
tree attrs) tree attrs)
...@@ -3214,7 +3215,7 @@ tree ...@@ -3214,7 +3215,7 @@ tree
builtin_function (const char* name, builtin_function (const char* name,
tree type, tree type,
int code, int code,
enum built_in_class class, enum built_in_class cl,
const char* libname, const char* libname,
tree attrs) tree attrs)
{ {
...@@ -3223,12 +3224,12 @@ builtin_function (const char* name, ...@@ -3223,12 +3224,12 @@ builtin_function (const char* name,
if (name[0] != '_') if (name[0] != '_')
{ {
push_namespace (std_identifier); push_namespace (std_identifier);
builtin_function_1 (name, type, std_node, code, class, libname, attrs); builtin_function_1 (name, type, std_node, code, cl, libname, attrs);
pop_namespace (); pop_namespace ();
} }
return builtin_function_1 (name, type, NULL_TREE, code, return builtin_function_1 (name, type, NULL_TREE, code,
class, libname, attrs); cl, libname, attrs);
} }
/* Generate a FUNCTION_DECL with the typical flags for a runtime library /* Generate a FUNCTION_DECL with the typical flags for a runtime library
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment