Skip to content
Snippets Groups Projects
  • Benjamin Kosnik's avatar
    4daba884
    [multiple changes] · 4daba884
    Benjamin Kosnik authored
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* gcc/c-family/c-common.c (c_common_reswords): Add __bases,
    	__direct_bases.
    	* gcc/c-family/c-common.h: Add RID_BASES and RID_DIRECT_BASES.
    
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* cp-tree.def: Add BASES as a new tree code.
    	* cp-tree.h (enum cp_trait_kind): Add CPTK_BASES, CPTK_DIRECT_BASES.
    	(BASES_TYPE, BASES_DIRECT): Define.
    	(calculate_bases, finish_bases, calculate_direct_bases): Declare.
    	* parser.c (cp_parser_trait_expr, cp_parser_template_argument_list,
    	(cp_parser_simple_type_specifier, cp_parser_save_nsdmi): Use them.
    	* pt.c (find_parameter_packs_r, tsubst_pack_expansion): Likewise.
    	* semantics.c (calculate_bases, finish_bases, calculate_direct_bases,
    	dfs_calculate_bases_pre, dfs_calculate_bases_post,
    	calculate_bases_helper): Define.
    
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* g++.dg/ext/bases.C: New test.
    
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* include/tr2/type_traits (bases, direct_bases, typelist): New.
    
    2011-10-17  Benjamin Kosnik  <bkoz@redhat.com>
    
    	* libstdc++-v3/include/Makefile.am: Add tr2 directory and includes.
    	* libstdc++-v3/include/Makefile.in: Regenerate.
    
    	* scripts/create_testsuite_files: Search tr2 directory.
    	* testsuite/libstdc++-dg/conformance.exp: Same.
    
    	* testsuite/tr2/bases/requirements/explicit_instantiation.cc: New.
    	* testsuite/tr2/bases/requirements/typedefs.cc: New.
    	* testsuite/tr2/bases/value.cc: New.
    	* testsuite/tr2/direct_bases/requirements/
    	explicit_instantiation.cc: New.
    	* testsuite/tr2/direct_bases/requirements/typedefs.cc: New.
    	* testsuite/tr2/direct_bases/value.cc: New.
    
    From-SVN: r180121
    4daba884
    History
    [multiple changes]
    Benjamin Kosnik authored
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* gcc/c-family/c-common.c (c_common_reswords): Add __bases,
    	__direct_bases.
    	* gcc/c-family/c-common.h: Add RID_BASES and RID_DIRECT_BASES.
    
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* cp-tree.def: Add BASES as a new tree code.
    	* cp-tree.h (enum cp_trait_kind): Add CPTK_BASES, CPTK_DIRECT_BASES.
    	(BASES_TYPE, BASES_DIRECT): Define.
    	(calculate_bases, finish_bases, calculate_direct_bases): Declare.
    	* parser.c (cp_parser_trait_expr, cp_parser_template_argument_list,
    	(cp_parser_simple_type_specifier, cp_parser_save_nsdmi): Use them.
    	* pt.c (find_parameter_packs_r, tsubst_pack_expansion): Likewise.
    	* semantics.c (calculate_bases, finish_bases, calculate_direct_bases,
    	dfs_calculate_bases_pre, dfs_calculate_bases_post,
    	calculate_bases_helper): Define.
    
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* g++.dg/ext/bases.C: New test.
    
    2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
    
    	* include/tr2/type_traits (bases, direct_bases, typelist): New.
    
    2011-10-17  Benjamin Kosnik  <bkoz@redhat.com>
    
    	* libstdc++-v3/include/Makefile.am: Add tr2 directory and includes.
    	* libstdc++-v3/include/Makefile.in: Regenerate.
    
    	* scripts/create_testsuite_files: Search tr2 directory.
    	* testsuite/libstdc++-dg/conformance.exp: Same.
    
    	* testsuite/tr2/bases/requirements/explicit_instantiation.cc: New.
    	* testsuite/tr2/bases/requirements/typedefs.cc: New.
    	* testsuite/tr2/bases/value.cc: New.
    	* testsuite/tr2/direct_bases/requirements/
    	explicit_instantiation.cc: New.
    	* testsuite/tr2/direct_bases/requirements/typedefs.cc: New.
    	* testsuite/tr2/direct_bases/value.cc: New.
    
    From-SVN: r180121