File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
llvm/include/llvm/ObjectYAML Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ struct DynamicSection : Section {
389389struct RawContentSection : Section {
390390 std::optional<llvm::yaml::Hex64> Info;
391391
392- RawContentSection (ChunkKind Kind = ChunkKind::RawContent ) : Section(Kind ) {}
392+ RawContentSection () : Section(ChunkKind::RawContent ) {}
393393
394394 static bool classof (const Chunk *S) {
395395 return S->Kind == ChunkKind::RawContent;
@@ -400,8 +400,10 @@ struct RawContentSection : Section {
400400};
401401
402402// / Abstract base class for non-blob contents.
403- struct CustomRawContentSection : RawContentSection {
404- CustomRawContentSection () : RawContentSection(ChunkKind::CustomRawContent) {}
403+ struct CustomRawContentSection : Section {
404+ std::optional<llvm::yaml::Hex64> Info;
405+
406+ CustomRawContentSection () : Section(ChunkKind::CustomRawContent) {}
405407
406408 // / Apply mappings.
407409 virtual void sectionMapping (yaml::IO &IO) = 0;
You can’t perform that action at this time.
0 commit comments