Skip to content

Commit e437826

Browse files
committed
[FOLD]
1 parent deeb349 commit e437826

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/AST/ASTVisitor.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,6 +1622,10 @@ populateAttributes(Info& I, Decl const* D)
16221622
{
16231623
if(! D->hasAttrs())
16241624
return;
1625+
1626+
if(const TemplateDecl* TD = D->getDescribedTemplate())
1627+
populateAttributes(I, TD);
1628+
16251629
for(const Attr* AT : D->getAttrs())
16261630
{
16271631
switch(AT->getKind())

0 commit comments

Comments
 (0)