]> granicus.if.org Git - clang/commitdiff
improve comment, patch by Vladimir Kirillov!
authorChris Lattner <sabre@nondot.org>
Sat, 28 Aug 2010 16:26:18 +0000 (16:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Aug 2010 16:26:18 +0000 (16:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112374 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/TypePrinter.cpp

index 463e9099e45973ee8e6cde177f1c4f6851f05bf4..eaffa5d3b17d45a8bde3309bf865222423374cc4 100644 (file)
@@ -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())