Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
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.) | |
121–124 | 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.)