typeck.c (cp_apply_type_quals_to_decl): Expand documentation.
authorMark Mitchell <mark@codesourcery.com>
Tue, 16 Oct 2007 21:00:47 +0000 (21:00 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 16 Oct 2007 21:00:47 +0000 (21:00 +0000)
commit15896502058d04821f1f2b4f09615a87babdd0ce
treec9fd19db215ed38eb9c7b7d407f8e60c5817857c
parent9eb061d7411734dac29533d4c8a6aba17ced2b76
typeck.c (cp_apply_type_quals_to_decl): Expand documentation.

* typeck.c (cp_apply_type_quals_to_decl): Expand documentation.
* decl.c (start_decl): Tidy.
(start_decl_1): Call cp_apply_type_quals_to_decl after completing
the type.
(grokdeclarator): Clarify comment.
* g++.dg/opt/const-5.C: New test.

From-SVN: r129386
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/const5.C [new file with mode: 0644]