[PATCH] D110398: [clang][ASTImporter] Import ConstructorUsingShadowDecl correctly.
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 28 02:31:01 PDT 2021
martong accepted this revision.
martong added a comment.
This revision is now accepted and ready to land.
Nice work! Thanks for the assiduous tests!
================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:6827-6828
+ FirstDeclMatcher<UsingShadowDecl>().match(
+ TU, usingShadowDecl(hasParent(equalsNode(RecordB)),
+ hasTargetDecl(equalsNode(ConstrA)))));
+ auto *ShadowCA = cast<ConstructorUsingShadowDecl>(
----------------
Very good matcher!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110398/new/
https://reviews.llvm.org/D110398
More information about the cfe-commits
mailing list