@@ -160,7 +160,6 @@ BlockIdNameMap = []()
160
160
{BI_BASE_RECORD_BLOCK_ID, " BaseRecordBlock" },
161
161
{BI_FUNCTION_BLOCK_ID, " FunctionBlock" },
162
162
{BI_JAVADOC_BLOCK_ID, " JavadocBlock" },
163
- {BI_COMMENT_BLOCK_ID, " CommentBlock" },
164
163
{BI_REFERENCE_BLOCK_ID, " ReferenceBlock" },
165
164
{BI_TEMPLATE_BLOCK_ID, " TemplateBlock" },
166
165
{BI_TEMPLATE_SPECIALIZATION_BLOCK_ID, " TemplateSpecializationBlock" },
@@ -184,17 +183,6 @@ RecordIdNameMap = []()
184
183
static const std::vector<std::pair<RecordId, RecordIdDsc>> Inits = {
185
184
{VERSION, {" Version" , &IntAbbrev}},
186
185
{JAVADOC_NODE_KIND, {" NodeKind" , &IntAbbrev}},
187
- {COMMENT_KIND, {" Kind" , &StringAbbrev}},
188
- {COMMENT_TEXT, {" Text" , &StringAbbrev}},
189
- {COMMENT_NAME, {" Name" , &StringAbbrev}},
190
- {COMMENT_DIRECTION, {" Direction" , &StringAbbrev}},
191
- {COMMENT_PARAMNAME, {" ParamName" , &StringAbbrev}},
192
- {COMMENT_CLOSENAME, {" CloseName" , &StringAbbrev}},
193
- {COMMENT_SELFCLOSING, {" SelfClosing" , &BoolAbbrev}},
194
- {COMMENT_EXPLICIT, {" Explicit" , &BoolAbbrev}},
195
- {COMMENT_ATTRKEY, {" AttrKey" , &StringAbbrev}},
196
- {COMMENT_ATTRVAL, {" AttrVal" , &StringAbbrev}},
197
- {COMMENT_ARG, {" Arg" , &StringAbbrev}},
198
186
{FIELD_TYPE_NAME, {" Name" , &StringAbbrev}},
199
187
{FIELD_DEFAULT_VALUE, {" DefaultValue" , &StringAbbrev}},
200
188
{MEMBER_TYPE_NAME, {" Name" , &StringAbbrev}},
@@ -259,11 +247,6 @@ RecordsByBlock{
259
247
// Javadoc Block
260
248
{BI_JAVADOC_BLOCK_ID,
261
249
{JAVADOC_NODE_KIND}},
262
- // Comment Block
263
- {BI_COMMENT_BLOCK_ID,
264
- {COMMENT_KIND, COMMENT_TEXT, COMMENT_NAME, COMMENT_DIRECTION,
265
- COMMENT_PARAMNAME, COMMENT_CLOSENAME, COMMENT_SELFCLOSING,
266
- COMMENT_EXPLICIT, COMMENT_ATTRKEY, COMMENT_ATTRVAL, COMMENT_ARG}},
267
250
// Type Block
268
251
{BI_TYPE_BLOCK_ID, {}},
269
252
// <mrdox/FieldType.hpp> Block
@@ -618,8 +601,6 @@ emitBlock(
618
601
for (const auto & N : I.Namespace )
619
602
emitBlock (N, FieldId::F_namespace);
620
603
emitBlock (I.javadoc );
621
- for (const auto & CI : I.Description )
622
- emitBlock (CI);
623
604
for (const auto & C : I.Children .Namespaces )
624
605
emitBlock (C, FieldId::F_child_namespace);
625
606
for (const auto & C : I.Children .Records )
@@ -644,8 +625,6 @@ emitBlock(
644
625
for (const auto & N : I.Namespace )
645
626
emitBlock (N, FieldId::F_namespace);
646
627
emitBlock (I.javadoc );
647
- for (const auto & CI : I.Description )
648
- emitBlock (CI);
649
628
if (I.DefLoc )
650
629
emitRecord (*I.DefLoc , RECORD_DEFLOCATION);
651
630
for (const auto & L : I.Loc )
@@ -700,8 +679,6 @@ emitBlock(
700
679
for (const auto & N : I.Namespace )
701
680
emitBlock (N, FieldId::F_namespace);
702
681
emitBlock (I.javadoc );
703
- for (const auto & CI : I.Description )
704
- emitBlock (CI);
705
682
emitRecord (I.Access , FUNCTION_ACCESS);
706
683
emitRecord (I.IsMethod , FUNCTION_IS_METHOD);
707
684
if (I.DefLoc )
@@ -751,8 +728,6 @@ emitBlock(
751
728
for (const auto & N : T.Namespace )
752
729
emitBlock (N, FieldId::F_namespace);
753
730
emitBlock (T.javadoc );
754
- for (const auto & CI : T.Description )
755
- emitBlock (CI);
756
731
if (T.DefLoc )
757
732
emitRecord (*T.DefLoc , TYPEDEF_DEFLOCATION);
758
733
emitRecord (T.IsUsing , TYPEDEF_IS_USING);
@@ -780,8 +755,6 @@ emitBlock(
780
755
emitRecord (T.Name , MEMBER_TYPE_NAME);
781
756
emitRecord (T.Access , MEMBER_TYPE_ACCESS);
782
757
emitBlock (T.javadoc );
783
- for (const auto & CI : T.Description )
784
- emitBlock (CI);
785
758
}
786
759
787
760
void
@@ -855,35 +828,6 @@ emitBlock(List<T> const& list)
855
828
}
856
829
}
857
830
858
- void
859
- BitcodeWriter::
860
- emitBlock (
861
- CommentInfo const & I)
862
- {
863
- StreamSubBlockGuard Block (Stream, BI_COMMENT_BLOCK_ID);
864
- for (auto const & L : std::vector<std::pair<
865
- llvm::StringRef, RecordId>>{
866
- {I.Kind , COMMENT_KIND},
867
- {I.Text , COMMENT_TEXT},
868
- {I.Name , COMMENT_NAME},
869
- {I.Direction , COMMENT_DIRECTION},
870
- {I.ParamName , COMMENT_PARAMNAME},
871
- {I.CloseName , COMMENT_CLOSENAME} })
872
- {
873
- emitRecord (L.first , L.second );
874
- }
875
- emitRecord (I.SelfClosing , COMMENT_SELFCLOSING);
876
- emitRecord (I.Explicit , COMMENT_EXPLICIT);
877
- for (const auto & A : I.AttrKeys )
878
- emitRecord (A, COMMENT_ATTRKEY);
879
- for (const auto & A : I.AttrValues )
880
- emitRecord (A, COMMENT_ATTRVAL);
881
- for (const auto & A : I.Args )
882
- emitRecord (A, COMMENT_ARG);
883
- for (const auto & C : I.Children )
884
- emitBlock (*C);
885
- }
886
-
887
831
void
888
832
BitcodeWriter::
889
833
emitBlock (
@@ -895,8 +839,6 @@ emitBlock(
895
839
for (const auto & N : I.Namespace )
896
840
emitBlock (N, FieldId::F_namespace);
897
841
emitBlock (I.javadoc );
898
- for (const auto & CI : I.Description )
899
- emitBlock (CI);
900
842
if (I.DefLoc )
901
843
emitRecord (*I.DefLoc , ENUM_DEFLOCATION);
902
844
for (const auto & L : I.Loc )
0 commit comments