CommentDumper: reorder members and add a comment.
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 25 Oct 2012 18:16:02 +0000 (18:16 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 25 Oct 2012 18:16:02 +0000 (18:16 +0000)
llvm-svn: 166705

clang/lib/AST/CommentDumper.cpp

index 18d3406..19d24b2 100644 (file)
@@ -18,17 +18,18 @@ class CommentDumper: public comments::ConstCommentVisitor<CommentDumper> {
   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 {