diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-10-25 18:16:02 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-10-25 18:16:02 +0000 |
commit | 3304c436130edcc0e4c500a48f951249e242d9d0 (patch) | |
tree | 045af7a491c10c6843c7952f06891b0d9bf13841 /lib/AST/CommentDumper.cpp | |
parent | af879c0222791b5e026653a834df1c5c1fb41552 (diff) |
CommentDumper: reorder members and add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
-rw-r--r-- | lib/AST/CommentDumper.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
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<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 { |