Clarify that loplugin:unnecessaryparen doesn't want to warn about sizeof

...for whatever reason

Change-Id: Iaae919dc6c636c4846c548914e593cb8bd94fe8b
This commit is contained in:
Stephan Bergmann
2017-11-24 11:43:30 +01:00
parent af72d1b9d1
commit 827de7f419

View File

@@ -61,6 +61,9 @@ int main()
if ((s2 = s1)) {
return 0;
}
(void) sizeof (int);
(void) sizeof (x); // expect no warning (for whatever reason; for symmetry with above case?)
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */