diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-28 16:26:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-28 16:26:18 +0000 |
commit | c7acc66050a96571739eeb017a867df27e6bcfc3 (patch) | |
tree | 1975cb916f5cea2fccba23836758b3fd8f6d869e | |
parent | 6a557d8f6b3d7a747a0b57960d4b86f05ba2e53c (diff) |
improve comment, patch by Vladimir Kirillov!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112374 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AST/TypePrinter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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()) |