gcc/libstdc++-v3/include/tr1_impl
Jason Merrill 0d9c089222 re PR c++/37806 (CV-qualifiers on function typedef's are inconsistently accepted depending on typedef scope)
PR c++/37806
        * typeck.c (cp_apply_type_quals_to_decl): Don't apply any quals
        to a typedef.
        * tree.c (cp_build_qualified_type_real): Don't apply restrict to a
        function type.
        * decl.h (enum decl_context): Add TEMPLATE_TYPE_ARG.
        * decl.c (groktypename): Add is_template_arg parameter.
        (grokdeclarator): Allow function cv-quals on a template type arg.
        * parser.c (cp_parser_new_type_id, cp_parser_type_id): Add
        is_template_arg argument in calls to groktypename.
        * cp-tree.h: Adjust prototype.
        * error.c (dump_type_prefix, dump_type_suffix): Fix plain
        FUNCTION_TYPE printing.

        PR libstdc++/39310
        * include/tr1_impl/type_traits (is_function): Add partial
        specializations with function cv-quals.
        (__is_function_helper): Remove.
        (is_member_pointer): Don't define in terms of is_member_*_pointer.

From-SVN: r145365
2009-03-31 14:31:17 -04:00
..
array user.cfg.in: Tweaks. 2009-02-21 00:45:21 +00:00
boost_sp_counted_base.h
cctype
cfenv cinttypes: Remove redundant pragma system_header. 2008-11-18 17:27:10 +00:00
cinttypes cinttypes: Remove redundant pragma system_header. 2008-11-18 17:27:10 +00:00
cmath [multiple changes] 2008-12-08 11:51:32 +00:00
complex user.cfg.in: Tweaks. 2009-02-21 00:45:21 +00:00
cstdint cinttypes: Remove redundant pragma system_header. 2008-11-18 17:27:10 +00:00
cstdio
cstdlib
cwchar
cwctype
functional user.cfg.in: Tweaks. 2009-02-21 00:45:21 +00:00
functional_hash.h PR c++/33979 (partial) 2008-05-20 18:11:34 +00:00
hashtable re PR libstdc++/25191 (exception_defines.h #defines try/catch) 2009-02-03 23:44:53 +00:00
hashtable_policy.h 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com> 2008-10-20 16:43:28 +00:00
random doxygroups.cc: Move algorithm groups into algorithmfwd.h. 2009-02-19 08:15:15 +00:00
random.tcc
regex user.cfg.in: Tweaks. 2009-02-21 00:45:21 +00:00
type_traits re PR c++/37806 (CV-qualifiers on function typedef's are inconsistently accepted depending on typedef scope) 2009-03-31 14:31:17 -04:00
unordered_map user.cfg.in: Tweaks. 2009-02-21 00:45:21 +00:00
unordered_set user.cfg.in: Tweaks. 2009-02-21 00:45:21 +00:00
utility tuple: Replace int -> size_t throughout per DR 775. 2008-05-23 23:08:41 +00:00