Skip to content

Commit ee0354f

Browse files
committed
[DirectX][ObjectYAML][NFC] Remove unused function
A small follow-up for #202761. `updateSize()` function added there is a rebase artifact. It is never actually used. This PR removes it.
1 parent a5d7faf commit ee0354f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

llvm/include/llvm/BinaryFormat/DXContainer.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -897,11 +897,6 @@ struct SectionHeader {
897897
sys::swapByteOrder(Flags);
898898
sys::swapByteOrder(Type);
899899
}
900-
901-
void updateSize(uint32_t ContentSize) {
902-
AlignedSizeInBytes =
903-
alignTo(sizeof(*this) + ContentSize, DXCONTAINER_STRUCT_ALIGNMENT);
904-
}
905900
};
906901

907902
static_assert(sizeof(SectionHeader) == 8,

0 commit comments

Comments
 (0)