r189791 - in /branches/cxx-conversion/gcc: Chan...

crowl@gcc.gnu.org crowl@gcc.gnu.org
Mon Jul 23 17:57:00 GMT 2012


Author: crowl
Date: Mon Jul 23 17:57:03 2012
New Revision: 189791

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189791
Log:
Change new C++ code to follow the new C++ coding conventions.  This patch is
part one, which changes to out-of-line method definitions and does other minor
changes.  Part two will fix the spacing problems.  The two-part approach makes
diffs sensible.


Index: gcc/ChangeLog.cxx-conversion

2012-07-20   Lawrence Crowl  <crowl@google.com>

        * hash-table.h (xcallocator::control_alloc): Move definition
        out of class.
	(xcallocator::data_alloc): Likewise.
	(xcallocator::control_free): Likewise.
	(xcallocator::data_free): Likewise.
	(struct hash_table): Use class keyword.
	(hash_table::hash_table): Move definition out of line.
	(hash_table::is_created): Likewise.
	(hash_table::find): Likewise.
	(hash_table::find_slot): Likewise.
	(hash_table::remove_elt): Likewise.
	(hash_table::size): Likewise.
	(hash_table::elements): Likewise.
	(hash_table::collisions): Likewise.
	(hash_table::create): Put method name on same line as class qualifier.
	(hash_table::dispose): Likewise.
	(hash_table::expand): Likewise.
	(hash_table::empty): Likewise.



Modified:
    branches/cxx-conversion/gcc/ChangeLog.cxx-conversion
    branches/cxx-conversion/gcc/hash-table.h



More information about the Gcc-cvs mailing list