forked from OSchip/llvm-project
CommentDumper: reorder members and add a comment.
llvm-svn: 166705
This commit is contained in:
parent
5c48d5c536
commit
369ea3cb77
|
@ -18,17 +18,18 @@ class CommentDumper: public comments::ConstCommentVisitor<CommentDumper> {
|
||||||
raw_ostream &OS;
|
raw_ostream &OS;
|
||||||
const CommandTraits *Traits;
|
const CommandTraits *Traits;
|
||||||
const SourceManager *SM;
|
const SourceManager *SM;
|
||||||
unsigned IndentLevel;
|
|
||||||
|
/// The \c FullComment parent of the comment being dumped.
|
||||||
const FullComment *FC;
|
const FullComment *FC;
|
||||||
|
|
||||||
|
unsigned IndentLevel;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CommentDumper(raw_ostream &OS,
|
CommentDumper(raw_ostream &OS,
|
||||||
const CommandTraits *Traits,
|
const CommandTraits *Traits,
|
||||||
const SourceManager *SM,
|
const SourceManager *SM,
|
||||||
const FullComment * FC) :
|
const FullComment *FC) :
|
||||||
OS(OS), Traits(Traits), SM(SM), IndentLevel(0),
|
OS(OS), Traits(Traits), SM(SM), FC(FC), IndentLevel(0)
|
||||||
FC(FC)
|
|
||||||
|
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
void dumpIndent() const {
|
void dumpIndent() const {
|
||||||
|
|
Loading…
Reference in New Issue