Fix a false positive in the readability-redundant-declaration.
Example code:
struct S { static int I; }: int S::I; // <- don't warn
For information, I also ran clang-format on the files and got some extra "unintentional" style updates.
Differential D27048
readability-redundant-declaration: fix false positive for static member declaration danielmarjamaki on Nov 23 2016, 7:35 AM. Authored by
Details Fix a false positive in the readability-redundant-declaration. Example code: struct S { static int I; }: int S::I; // <- don't warn For information, I also ran clang-format on the files and got some extra "unintentional" style updates.
Diff Detail
Event TimelineComment Actions Thanks for the fix.
Comment Actions Sorry for the delay. LGTM, thanks. Nit: Please mark the reviewers' comments Done in Phabricator once you address them, it will make review stuff easier. |