On Mon, Apr 10, 2017 at 12:32 PM, Mike Stump wrote:
> On Apr 9, 2017, at 1:53 PM, Volker Reichelt 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++.
>> Wo
On Apr 9, 2017, at 1:53 PM, Volker Reichelt 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 rever
On 7 Apr, David Malcolm wrote:
> On Fri, 2017-04-07 at 21:55 +0200, Volker Reichelt wrote:
>> Hi,
>>
>> with the following patch I suggest to add a diagnostic for extra
>> semicolons after in-class member function definitions:
>>
>> struct A
>> {
>> A() {};
>> void foo() {};
>> f
On Fri, 2017-04-07 at 21:55 +0200, Volker Reichelt wrote:
> Hi,
>
> with the following patch I suggest to add a diagnostic for extra
> semicolons after in-class member function definitions:
>
> struct A
> {
> A() {};
> void foo() {};
> friend void bar() {};
> };
>
> Although th
Hi,
with the following patch I suggest to add a diagnostic for extra
semicolons after in-class member function definitions:
struct A
{
A() {};
void foo() {};
friend void bar() {};
};
Although they are allowed in the C++ standard, people (including me)
often like to get rid of t
Hi,
with the following patch I suggest to add a diagnostic for extra
semicolons after in-class member function definitions:
struct A
{
A() {};
void foo() {};
friend void bar() {};
};
Although they are allowed in the C++ standard, people (including me)
often like to get rid of t