Default visibility for classes is private, so the private: at the top of
various class definitions is redundant.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for cleaning this up. There are additional VPlan classes in other files with such a redundant 'private'; best keep them all consistent.
While we're at it, there are other cases with a redundant 'public', breaking the "struct should be used when all members are declared public" rule of https://llvm.org/docs/CodingStandards.html#use-of-class-and-struct-keywords
llvm/lib/Transforms/Vectorize/VPlan.h | ||
---|---|---|
79 | Retain the 3rd slash? |
Comment Actions
Remove redundant private: in a few more files.
Done.
While we're at it, there are other cases with a redundant 'public', breaking the "struct should be used when all members are declared public" rule of https://llvm.org/docs/CodingStandards.html#use-of-class-and-struct-keywords
Will do as follow-up
Retain the 3rd slash?