CommentDumper: reorder members and add a comment.

llvm-svn: 166705
This commit is contained in:
Dmitri Gribenko 2012-10-25 18:16:02 +00:00
parent 5c48d5c536
commit 369ea3cb77
1 changed files with 7 additions and 6 deletions

View 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 {