[PATCH] D92106: [ASTImporter] Import the default argument of NonTypeTemplateParmDecl
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 30 14:13:48 PST 2020
shafik added inline comments.
================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:965
+TEST_P(ASTImporterOptionSpecificTestBase, NonTypeTemplateParmDeclDefaultArg) {
+ Decl *FromTU = getTuDecl("template<int S = 1> struct X {};", Lang_CXX03);
+ auto From = FirstDeclMatcher<NonTypeTemplateParmDecl>().match(
----------------
Might make sense to test multiple default arguments and types.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92106/new/
https://reviews.llvm.org/D92106
More information about the cfe-commits
mailing list