Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 19994 Build 19994: arc lint + arc unit
Event Timeline
include/clang/AST/Redeclarable.h | ||
---|---|---|
106 | I think this is still a confusing name, because it points either to the previous declaration or to the latest one. How about just calling this Link? Or if you want to be more explicit, PrevOrLatest. (But that name is still slightly inaccurate due to the UninitializedLatest case.) | |
117–120 | This would be simpler and more obvious as: return Prev.is<KnownLatest>() || // FIXME: 'template' is required on the next line due to an // apparent clang bug. Prev.get<NotKnownLatest>().template is<UninitializedLatest>()); |
I think this is still a confusing name, because it points either to the previous declaration or to the latest one. How about just calling this Link? Or if you want to be more explicit, PrevOrLatest. (But that name is still slightly inaccurate due to the UninitializedLatest case.)