This is the mail archive of the gcc-patches@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] |
I find it hard to see what exactly changes there. Even if I restore the indentation level, git still shows a diff. Perhaps there were tabs in it...
else if (TYPE_P (name)) { basetype = TYPE_MAIN_VARIANT (name); + delegate_target = name; name = TYPE_NAME (name); } else if (TREE_CODE (name) == TYPE_DECL) - basetype = TYPE_MAIN_VARIANT (TREE_TYPE (name)); + { + basetype = TYPE_MAIN_VARIANT (TREE_TYPE (name)); + delegate_target = TREE_TYPE (name); + }
+ error ("mem-initializer for %qD follows constructor delegation; " + "previous target constructor for %T must be sole initializer", + error ("target constructor for %T must be sole initializer; " + "constructor delegation follows mem-initializer for %qD",
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |