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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM! I'll fix up the nits when I land on your behalf.
clang/lib/AST/ASTStructuralEquivalence.cpp | ||
---|---|---|
1456–1467 | Minor nits for our weird coding style. |
Minor nits for our weird coding style.