[PATCH] D92962: [ASTImporter] Fix import of a typedef that has an attribute
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 9 15:18:54 PST 2020
shafik added a comment.
LGTM
================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:6098
+ FirstDeclMatcher<TypedefDecl>().match(TU, typedefDecl(hasName("X")));
+ auto *ToD = Import(FromD, Lang_CXX17);
+ ASSERT_TRUE(ToD);
----------------
We can't check the attribute is present?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92962/new/
https://reviews.llvm.org/D92962
More information about the cfe-commits
mailing list