Skip to content

Commit 35350b3

Browse files
committed
javadocs are not extracted for namespaces
1 parent 5c9e7d2 commit 35350b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/AST/ASTVisitor.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,9 @@ extractInfo(
559559
if(! extractSymbolID(D, I.id))
560560
return false;
561561
I.Name = D->getNameAsString();
562-
parseRawComment(I.javadoc, D);
562+
// do not extract javadocs for namespaces
563+
if(! I.isNamespace())
564+
parseRawComment(I.javadoc, D);
563565
return true;
564566
}
565567

0 commit comments

Comments
 (0)