diff options
author | Jason Merrill <jason@redhat.com> | 2013-04-01 15:05:06 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-04-01 15:05:06 -0400 |
commit | c4101929ef37bbc91668b2ba5bd22a5361448700 (patch) | |
tree | 11f6d755e965f6edfc93747266815cdcce7d3a9f /gcc/cp/cxx-pretty-print.h | |
parent | 2eed8e37019cecd79d95b81ecfb6f8605b6361fa (diff) | |
download | gcc-c4101929ef37bbc91668b2ba5bd22a5361448700.zip gcc-c4101929ef37bbc91668b2ba5bd22a5361448700.tar.gz gcc-c4101929ef37bbc91668b2ba5bd22a5361448700.tar.bz2 |
cxx-pretty-print.h (pp_cxx_cv_qualifiers): New.
* cxx-pretty-print.h (pp_cxx_cv_qualifiers): New.
* class.c (same_signature_p): Use type_memfn_quals.
* cp-tree.h (TYPE_RAISES_EXCEPTIONS): Use
FUNCTION_OR_METHOD_TYPE_CHECK.
* error.c (dump_type_suffix): Add padding before cv-qualifiers.
* pt.c (unify): Use static_fn_type.
From-SVN: r197316
Diffstat (limited to 'gcc/cp/cxx-pretty-print.h')
-rw-r--r-- | gcc/cp/cxx-pretty-print.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/cxx-pretty-print.h b/gcc/cp/cxx-pretty-print.h index f1ab0e6..0f7dc4a 100644 --- a/gcc/cp/cxx-pretty-print.h +++ b/gcc/cp/cxx-pretty-print.h @@ -42,6 +42,8 @@ typedef struct #define pp_cxx_cv_qualifier_seq(PP, T) \ pp_c_type_qualifier_list (pp_c_base (PP), T) +#define pp_cxx_cv_qualifiers(PP, CV) \ + pp_c_cv_qualifiers (pp_c_base (PP), CV, false) #define pp_cxx_whitespace(PP) pp_c_whitespace (pp_c_base (PP)) #define pp_cxx_left_paren(PP) pp_c_left_paren (pp_c_base (PP)) |