r245884 - in /branches/c++-modules: ChangeLog.m...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Fri Mar 3 20:11:00 GMT 2017
Author: nathan
Date: Fri Mar 3 20:11:45 2017
New Revision: 245884
URL: https://gcc.gnu.org/viewcvs?rev=245884&root=gcc&view=rev
Log:
Cleanup retrofit_lang_decl. Push to trunk.
gcc/cp/
* cp-tree.h (add_lang_decl_raw, add_lang_type_raw): Rename.
* lex.c (maybe_add_lang_decl_raw, maybe_add_lang_type_raw): Return
bool. Don't assert.
(retrofit_lang_decl, cxx_make_type): Adjust.
* module.c (cpms_in::read_tree): Verify lang_decl/type insertion
valid.
* class.c (alter_access): Directly call retrofit_lang_decl.
* decl.c (push_local_name, duplicate_decls): Likewise.
* pt.c (push_template_decl_real, txubs_omp_clauses): Likewise.
* semantics.c (omp_privatize_field): Likewise.
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/class.c
branches/c++-modules/gcc/cp/cp-tree.h
branches/c++-modules/gcc/cp/decl.c
branches/c++-modules/gcc/cp/lex.c
branches/c++-modules/gcc/cp/module.c
branches/c++-modules/gcc/cp/pt.c
branches/c++-modules/gcc/cp/semantics.c
More information about the Gcc-cvs
mailing list