OSDN Git Service

* decl.c (grokdeclarator): Don't check quals on fn type.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 2010 21:02:03 +0000 (21:02 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 2010 21:02:03 +0000 (21:02 +0000)
commit5211f81075c70f192e346a7e33ec9d5412c2f9a0
tree73962fa75beb82263d63e1c7b90f861c66bc93df
parent2ec4852152c3aae79ca3fa23033a15c2944af530
* decl.c (grokdeclarator): Don't check quals on fn type.
* typeck.c (cp_apply_type_quals_to_decl): Likewise.
* tree.c (cp_build_qualified_type_real): Simplify qualifier checking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159597 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/cv_func.C