Files
clang-p2996/clang/lib/AST/ASTStructuralEquivalence.cpp
David Stone 94252713f9 [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
2023-05-08 13:27:36 -04:00

88 KiB