@@ -58,10 +58,10 @@ FullCommentParts::FullCommentParts(
58
58
59
59
switch (child->getCommentKind ())
60
60
{
61
- case Comment::NoCommentKind :
61
+ case CommentKind::None :
62
62
continue ;
63
63
64
- case Comment::ParagraphCommentKind :
64
+ case CommentKind::ParagraphComment :
65
65
{
66
66
const ParagraphComment* pc = llvm::cast<ParagraphComment>(child);
67
67
@@ -75,7 +75,7 @@ FullCommentParts::FullCommentParts(
75
75
break ;
76
76
}
77
77
78
- case Comment::BlockCommandCommentKind :
78
+ case CommentKind::BlockCommandComment :
79
79
{
80
80
const BlockCommandComment* bcc = llvm::cast<BlockCommandComment>(child);
81
81
const CommandInfo* Info = traits_.getCommandInfo (bcc->getCommandID ());
@@ -94,7 +94,7 @@ FullCommentParts::FullCommentParts(
94
94
break ;
95
95
}
96
96
97
- case Comment::ParamCommandCommentKind :
97
+ case CommentKind::ParamCommandComment :
98
98
{
99
99
const ParamCommandComment* pcc = llvm::cast<ParamCommandComment>(child);
100
100
@@ -108,7 +108,7 @@ FullCommentParts::FullCommentParts(
108
108
break ;
109
109
}
110
110
111
- case Comment::TParamCommandCommentKind :
111
+ case CommentKind::TParamCommandComment :
112
112
{
113
113
const TParamCommandComment* tpcc
114
114
= llvm::cast<TParamCommandComment>(child);
@@ -123,11 +123,11 @@ FullCommentParts::FullCommentParts(
123
123
break ;
124
124
}
125
125
126
- case Comment::VerbatimBlockCommentKind :
126
+ case CommentKind::VerbatimBlockComment :
127
127
_miscBlocks.push_back (cast<BlockCommandComment>(child));
128
128
break ;
129
129
130
- case Comment::VerbatimLineCommentKind :
130
+ case CommentKind::VerbatimLineComment :
131
131
{
132
132
const VerbatimLineComment* vlc = llvm::cast<VerbatimLineComment>(child);
133
133
const CommandInfo* Info = traits_.getCommandInfo (vlc->getCommandID ());
@@ -251,22 +251,22 @@ void CommentToMarkdownConverter::visitInlineCommandComment(
251
251
252
252
switch (c_->getRenderKind ())
253
253
{
254
- case InlineCommandComment::RenderNormal :
254
+ case InlineCommandRenderKind::Normal :
255
255
for (unsigned i = 0 , e = c_->getNumArgs (); i != e; ++i)
256
256
_res << c_->getArgText (i).str () << ' ' ;
257
257
return ;
258
258
259
- case InlineCommandComment::RenderBold :
259
+ case InlineCommandRenderKind::Bold :
260
260
assert (c_->getNumArgs () == 1 );
261
261
_res << " **" << arg0.str () << " **" ;
262
262
return ;
263
263
264
- case InlineCommandComment::RenderMonospaced :
264
+ case InlineCommandRenderKind::Monospaced :
265
265
assert (c_->getNumArgs () == 1 );
266
266
_res << ' `' << arg0.str () << ' `' ;
267
267
return ;
268
268
269
- case InlineCommandComment::RenderEmphasized :
269
+ case InlineCommandRenderKind::Emphasized :
270
270
assert (c_->getNumArgs () == 1 );
271
271
_res << ' *' << arg0.str () << ' *' ;
272
272
return ;
@@ -336,9 +336,9 @@ void CommentToMarkdownConverter::visitParamCommandComment(
336
336
{
337
337
switch (c_->getDirection ())
338
338
{
339
- case ParamCommandComment ::In: _res << " - *in*: " ; break ;
340
- case ParamCommandComment ::Out: _res << " - *out*: " ; break ;
341
- case ParamCommandComment ::InOut: _res << " - *in,out*: " ; break ;
339
+ case ParamCommandPassDirection ::In: _res << " - *in*: " ; break ;
340
+ case ParamCommandPassDirection ::Out: _res << " - *out*: " ; break ;
341
+ case ParamCommandPassDirection ::InOut: _res << " - *in,out*: " ; break ;
342
342
}
343
343
344
344
_res << " **" << (c_->isParamIndexValid ()
0 commit comments