git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Fariborz Jahanian 2013-01-26 20:50:23 +00:00
Родитель 87611cdd0c
Коммит e3fac338e0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -428,7 +428,7 @@ comments::FullComment *ASTContext::getCommentForDecl(
return cloneFullComment(FC, D); return cloneFullComment(FC, D);
} }
else if (const TypedefDecl *TD = dyn_cast<TypedefDecl>(D)) { else if (const TypedefDecl *TD = dyn_cast<TypedefDecl>(D)) {
// Attach enum's documentation to its typedef if latter // Attach any tag type's documentation to its typedef if latter
// does not have one of its own. // does not have one of its own.
QualType QT = TD->getUnderlyingType(); QualType QT = TD->getUnderlyingType();
if (const TagType *TT = QT->getAs<TagType>()) if (const TagType *TT = QT->getAs<TagType>())