[cfe-commits] r166705 - /cfe/trunk/lib/AST/CommentDumper.cpp

Dmitri Gribenko gribozavr at gmail.com
Thu Oct 25 11:16:02 PDT 2012


Author: gribozavr
Date: Thu Oct 25 13:16:02 2012
New Revision: 166705

URL: http://llvm.org/viewvc/llvm-project?rev=166705&view=rev
Log:
CommentDumper: reorder members and add a comment.

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

Modified: cfe/trunk/lib/AST/CommentDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CommentDumper.cpp?rev=166705&r1=166704&r2=166705&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentDumper.cpp (original)
+++ cfe/trunk/lib/AST/CommentDumper.cpp Thu Oct 25 13:16:02 2012
@@ -18,17 +18,18 @@
   raw_ostream &OS;
   const CommandTraits *Traits;
   const SourceManager *SM;
-  unsigned IndentLevel;
+
+  /// The \c FullComment parent of the comment being dumped.
   const FullComment *FC;
-  
+
+  unsigned IndentLevel;
+
 public:
   CommentDumper(raw_ostream &OS,
                 const CommandTraits *Traits,
                 const SourceManager *SM,
-                const FullComment * FC) :
-      OS(OS), Traits(Traits), SM(SM), IndentLevel(0),
-      FC(FC)
-  
+                const FullComment *FC) :
+      OS(OS), Traits(Traits), SM(SM), FC(FC), IndentLevel(0)
   { }
 
   void dumpIndent() const {





More information about the cfe-commits mailing list