This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r220656 - in /trunk/gcc: cp/ChangeLog cp/parser...


Author: jason
Date: Thu Feb 12 20:21:34 2015
New Revision: 220656

URL: https://gcc.gnu.org/viewcvs?rev=220656&root=gcc&view=rev
Log:
	PR c++/64959
	* parser.c (lookup_literal_operator): Return all candidates.
	(cp_parser_userdef_char_literal): Simplify error handling.
	(cp_parser_userdef_numeric_literal):  Pass tf_warning_or_error.
	(cp_parser_userdef_string_literal): Pass tf_warning_or_error.
	Also give higher priority to standard string UDL operator.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/udlit-namespace-ambiguous.C
    trunk/gcc/testsuite/g++.dg/cpp0x/udlit-namespace-using-directive.C
    trunk/gcc/testsuite/g++.dg/cpp0x/udlit-sfinae-neg.C
    trunk/gcc/testsuite/g++.dg/cpp0x/udlit-sfinae.C
    trunk/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-sfinae-neg.C
    trunk/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-sfinae.C
    trunk/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-vs-std-literal-operator.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/g++.dg/cpp0x/udlit-resolve.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]