From: Dmitri Gribenko Date: Thu, 25 Oct 2012 18:16:02 +0000 (+0000) Subject: CommentDumper: reorder members and add a comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3304c436130edcc0e4c500a48f951249e242d9d0;p=clang CommentDumper: reorder members and add a comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166705 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp index 18d3406217..19d24b2f3a 100644 --- a/lib/AST/CommentDumper.cpp +++ b/lib/AST/CommentDumper.cpp @@ -18,17 +18,18 @@ class CommentDumper: public comments::ConstCommentVisitor { 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 {