diff options
author | Gabriel Dos Reis <gdr@codesourcery.com> | 2000-10-31 08:43:17 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2000-10-31 08:43:17 +0000 |
commit | 761f08559a620527018829cc343b9648d4b001a8 (patch) | |
tree | b5b53201317520a4ada947507a23e9c66faaf4ac /gcc/testsuite | |
parent | 34791641f6a087aced2f3b2100f6e3347fac2c6e (diff) | |
download | gcc-761f08559a620527018829cc343b9648d4b001a8.zip gcc-761f08559a620527018829cc343b9648d4b001a8.tar.gz gcc-761f08559a620527018829cc343b9648d4b001a8.tar.bz2 |
memtemp77.C (main): Adjust comparison against.
testsuite/
* g++.old-deja/g++.pt/memtemp77.C (main): Adjust comparison against.
__PRETTY_FUNCTION__
cp/
* error.c: Move TFF_ macros into cp-tree.h. Throughout, replace
TS_* flags with corresponding TFF_*. Adjust prototypes of
functions (which used to take a tree_string_flags) to take an int.
* cp-tree.h (enum tree_string_flags): Remove
(TFF_PLAIN_IDENTIFIER, TFF_NAMESPACE_SCOPE, TFF_CLASS_SCOPE,
TFF_CHASE_NAMESPACE_ALIAS, TFF_CHASE_TYPEDEF, TFF_DECL_SPECIFIERS,
TFF_CLASS_KEY_OR_ENUM, TFF_RETURN_TYPE,
TFF_FUNCTION_DEFAULT_ARGUMENTS, TFF_EXCEPTION_SPECIFICATION,
TFF_TEMPLATE_HEADER, TFF_TEMPLATE_DEFAULT_ARGUMENTS,
TFF_TEMPLATE_NAME, TFF_EXPR_IN_PARENS, TFF_SCOPE): New macros.
(type_as_string, decl_as_string, expr_as_string,
context_as_string): Adjust prototype.
* class.c (dump_class_hierarchy_r): Use TFF_PLAIN_IDENTIFIER
instead of TS_PLAIN.
* pt.c (mangle_class_name_for_template): Use TFF_CHASE_TYPEDEF
instead of TF_CHASE_TYPEDEFS. Use TFF_PLAIN_IDENTIFIER instead of
plain `0'.
From-SVN: r37152
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f8bad74..bb486a4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com> + + * g++.old-deja/g++.pt/memtemp77.C (main): Adjust comparison against. + __PRETTY_FUNCTION__ + 2000-10-29 Neil Booth <neilb@earthling.net> * gcc.dg/cpp/defined.c, include1.c, paste11.c, skipping.c: diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C index 0e5ebcd..d8d70c5 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C @@ -18,7 +18,7 @@ const char* S3<char>::h(int) { return __PRETTY_FUNCTION__; } int main() { if (strcmp (S3<double>::h(7), - "const char* S3<T>::h(U) [with U = int, T = double]") == 0) + "static const char* S3<T>::h(U) [with U = int, T = double]") == 0) return 0; else return 1; |