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]

Re: [C++ PATCH] New warning for extra semicolons after in-class function definitions


On Apr 9, 2017, at 1:53 PM, Volker Reichelt <v.reichelt@netcologne.de> wrote:
>>> +Wextra-semi
>>> +C++ Var(warn_extra_semi) Warning
>>> +Warn about semicolon after in-class function definition.
>>> +

> Right now, the patch enables the warning only for C++.
> Would it make sense to enable it also for ObjC++?

This is reversed.  Always do the exact same thing for Objective-C++ as for C++ (unless there is a compelling reason why not).  I don't see any reason why we should avoid Objective-C++ in this case.


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