[clang][AST][NFC] Factor out check for structural equivalence of names.
We have four places that we try to decide which name to use for the test for structural equivalence, and in each of those we evaluate getTypedefNameForAnonDecl twice. Pull out the check into a function to reduce duplication and evaluate things only once. Differential Revision: https://reviews.llvm.org/D149981
Loading
Please sign in to comment