[clang] Don't make synthesized accessor stub functions visible twice
`addDecl` is making the Decl visible, so there is no need to make it explicitly visible again. Making it visible twice will also make the lookup storage less efficient and potentially lead to crashes, see D84827 for that. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D84828
Loading
Please sign in to comment