[modules] Sometimes we can deserialize a class member but not have yet
encountered any definition for the class; this happens when the definition is
added by an update record that is not yet loaded. In such a case, eagerly pick
the original parent of the member as the canonical definition of the class
rather than muddling through with the canonical declaration (the latter can
lead to us failing to merge properly later if the canonical definition turns
out to be some other declaration).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226977
91177308-0d34-0410-b5e6-
96231b3b80d8