зеркало из https://github.com/microsoft/clang-1.git
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
87611cdd0c
Коммит
e3fac338e0
|
@ -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>())
|
||||||
|
|
Загрузка…
Ссылка в новой задаче