diff options
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 { |