@@ -58,10 +58,10 @@ FullCommentParts::FullCommentParts(
5858
5959 switch (child->getCommentKind ())
6060 {
61- case Comment::NoCommentKind :
61+ case CommentKind::None :
6262 continue ;
6363
64- case Comment::ParagraphCommentKind :
64+ case CommentKind::ParagraphComment :
6565 {
6666 const ParagraphComment* pc = llvm::cast<ParagraphComment>(child);
6767
@@ -75,7 +75,7 @@ FullCommentParts::FullCommentParts(
7575 break ;
7676 }
7777
78- case Comment::BlockCommandCommentKind :
78+ case CommentKind::BlockCommandComment :
7979 {
8080 const BlockCommandComment* bcc = llvm::cast<BlockCommandComment>(child);
8181 const CommandInfo* Info = traits_.getCommandInfo (bcc->getCommandID ());
@@ -94,7 +94,7 @@ FullCommentParts::FullCommentParts(
9494 break ;
9595 }
9696
97- case Comment::ParamCommandCommentKind :
97+ case CommentKind::ParamCommandComment :
9898 {
9999 const ParamCommandComment* pcc = llvm::cast<ParamCommandComment>(child);
100100
@@ -108,7 +108,7 @@ FullCommentParts::FullCommentParts(
108108 break ;
109109 }
110110
111- case Comment::TParamCommandCommentKind :
111+ case CommentKind::TParamCommandComment :
112112 {
113113 const TParamCommandComment* tpcc
114114 = llvm::cast<TParamCommandComment>(child);
@@ -123,11 +123,11 @@ FullCommentParts::FullCommentParts(
123123 break ;
124124 }
125125
126- case Comment::VerbatimBlockCommentKind :
126+ case CommentKind::VerbatimBlockComment :
127127 _miscBlocks.push_back (cast<BlockCommandComment>(child));
128128 break ;
129129
130- case Comment::VerbatimLineCommentKind :
130+ case CommentKind::VerbatimLineComment :
131131 {
132132 const VerbatimLineComment* vlc = llvm::cast<VerbatimLineComment>(child);
133133 const CommandInfo* Info = traits_.getCommandInfo (vlc->getCommandID ());
@@ -251,22 +251,22 @@ void CommentToMarkdownConverter::visitInlineCommandComment(
251251
252252 switch (c_->getRenderKind ())
253253 {
254- case InlineCommandComment::RenderNormal :
254+ case InlineCommandRenderKind::Normal :
255255 for (unsigned i = 0 , e = c_->getNumArgs (); i != e; ++i)
256256 _res << c_->getArgText (i).str () << ' ' ;
257257 return ;
258258
259- case InlineCommandComment::RenderBold :
259+ case InlineCommandRenderKind::Bold :
260260 assert (c_->getNumArgs () == 1 );
261261 _res << " **" << arg0.str () << " **" ;
262262 return ;
263263
264- case InlineCommandComment::RenderMonospaced :
264+ case InlineCommandRenderKind::Monospaced :
265265 assert (c_->getNumArgs () == 1 );
266266 _res << ' `' << arg0.str () << ' `' ;
267267 return ;
268268
269- case InlineCommandComment::RenderEmphasized :
269+ case InlineCommandRenderKind::Emphasized :
270270 assert (c_->getNumArgs () == 1 );
271271 _res << ' *' << arg0.str () << ' *' ;
272272 return ;
@@ -336,9 +336,9 @@ void CommentToMarkdownConverter::visitParamCommandComment(
336336{
337337 switch (c_->getDirection ())
338338 {
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 ;
342342 }
343343
344344 _res << " **" << (c_->isParamIndexValid ()
0 commit comments