[cfe-commits] r112374 - /cfe/trunk/lib/AST/TypePrinter.cpp

Chris Lattner sabre at nondot.org
Sat Aug 28 09:26:18 PDT 2010


Author: lattner
Date: Sat Aug 28 11:26:18 2010
New Revision: 112374

URL: http://llvm.org/viewvc/llvm-project?rev=112374&view=rev
Log:
improve comment, patch by Vladimir Kirillov!

Modified:
    cfe/trunk/lib/AST/TypePrinter.cpp

Modified: cfe/trunk/lib/AST/TypePrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TypePrinter.cpp?rev=112374&r1=112373&r2=112374&view=diff
==============================================================================
--- cfe/trunk/lib/AST/TypePrinter.cpp (original)
+++ cfe/trunk/lib/AST/TypePrinter.cpp Sat Aug 28 11:26:18 2010
@@ -430,9 +430,10 @@
     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())





More information about the cfe-commits mailing list