summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/cpp0x/warn_cxx0x.C
Commit message (Collapse)AuthorAgeFilesLines
* * lib/g++-dg.exp (g++-dg-runtest): Run tests in C++1y mode, too.jason2014-03-071-0/+1
| | | | | | | | | | | | | | * lib/target-supports.exp (check_effective_target_c++11): Now means C++11 and up. (check_effective_target_c++11_only): New. (check_effective_target_c++11_down): New. (check_effective_target_c++1y): New. (check_effective_target_c++1y_only): New. (check_effective_target_c++98_only): Rename from check_effective_target_c++98. * g++.dg/*: Use { target c++11 } instead of -std=c++11. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208416 138bc75d-0d04-0410-961f-82ee72b054a4
* * parser.c (cp_parser_decl_specifier_seq): Change "C++0x" tojason2011-11-021-3/+3
| | | | | | | | "C++11" in warnings. (cp_lexer_get_preprocessor_token): Likewise. (cp_parser_binary_expression): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180795 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for C++0x nullptr.jason2010-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: * c-common.c (c_common_reswords): Add nullptr. * c-common.h: Add RID_NULLPTR. Reorganize C++0x rids. * dwarf2out.c (is_base_type): Handle NULLPTR_TYPE. (gen_type_die_with_usage): Likewise. * dbxout.c (dbxout_type): Likewise. * sdbout.c (plain_type_1): Likewise. gcc/cp: * cp-tree.def: Add NULLPTR_TYPE. * cp-tree.h: Add nullptr_node. (cp_tree_index): Add CPTI_NULLPTR. (SCALAR_TYPE_P): Add NULLPTR_TYPE. * call.c (null_ptr_cst_p): Handle nullptr. (standard_conversion): Likewise. (convert_arg_to_ellipsis): Likewise. * mangle.c (write_type): Likewise. * name-lookup.c (arg_assoc_type): Likewise. * parser.c (cp_parser_primary_expression): Likewise. * typeck.c (cp_build_binary_op): Likewise. (build_reinterpret_cast_1): Likewise. * error.c (dump_type): Likewise. (dump_type_prefix, dump_type_suffix): Likewise. * decl.c (cxx_init_decl_processing): Likewise. * cxx-pretty-print.c (pp_cxx_constant): Likewise. * cvt.c (ocp_convert): Likewise. * rtti.c (typeinfo_in_lib_p, emit_support_tinfos): Put nullptr_t tinfo in libsupc++. libstdc++-v3: * config/abi/pre/gnu.ver: Add typeinfo for decltype(nullptr). libiberty: * cp-demangle.c (cplus_demangle_builtin_types): Add nullptr. (cplus_demangle_type): Handle nullptr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159131 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-24 Douglas Gregor <doug.gregor@gmail.com>dgregor2007-04-241-1/+1
| | | | | | | | | | | | | | | | | | * g++.old-deja/g++.pt/defarg6.C: Only run with -std=gnu++98. * g++.old-deja/g++.pt/ucnid-1.C: Ditto. * g++.dg/cpp0x/variadic61.C: Ditto. * g++.dg/cpp0x/warn_cxx0x.C: Ditto. * g++.dg/cpp0x/variadic62.C: Ditto. * g++.dg/template/meminit1.C: Ditto. * g++.dg/template/operator7.C: Ditto. * g++.dg/template/static15.C: Ditto. * g++.dg/template/invalid1.C: Ditto. * g++.dg/template/shift1.C: Ditto. * g++.dg/template/error10.C: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124125 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>dgregor2007-01-251-0/+7
* g++.dg/cpp0x/warn_cxx0x.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121160 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud