sberg updated this revision to Diff 137374.
sberg added a comment.
Turns out DLLAttr-inherited-from-class is only added to members during
Sema::CheckCompletedClass -> Sema::checkClassLevelDLLAttribute, when friend
re-decls of those members may already have been created.