From: Chris Lattner Date: Sat, 28 Aug 2010 16:26:18 +0000 (+0000) Subject: improve comment, patch by Vladimir Kirillov! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7acc66050a96571739eeb017a867df27e6bcfc3;p=clang improve comment, patch by Vladimir Kirillov! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112374 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index 463e9099e4..eaffa5d3b1 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -430,9 +430,10 @@ void TypePrinter::PrintTag(TagDecl *D, std::string &InnerString) { Buffer += ' '; } + // Compute the full nested-name-specifier for this type. + // In C, this will always be empty except when the type + // being printed is anonymous within other Record. if (!Policy.SuppressScope) - // Compute the full nested-name-specifier for this type. In C, - // this will always be empty. AppendScope(D->getDeclContext(), Buffer); if (const IdentifierInfo *II = D->getIdentifier())