Skip to content

Commit 76b1b75

Browse files
author
joaosaffran
committed
clean up
1 parent 2f6d579 commit 76b1b75

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

llvm/include/llvm/Object/DXContainer.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ std::enable_if_t<std::is_class<T>::value, void> swapBytes(T &value) {
4040
value.swapBytes();
4141
}
4242

43-
struct TypeIdGenerator {
44-
static inline size_t nextId = 0;
45-
46-
static size_t getNextId() { return nextId++; }
47-
};
4843
} // namespace detail
4944

5045
// This class provides a view into the underlying resource array. The Resource
@@ -289,7 +284,6 @@ class RootSignature {
289284
DataSize = sizeof(dxbc::RST0::v1::DescriptorRange) * NumRanges +
290285
2 * sizeof(uint32_t);
291286
break;
292-
break;
293287
}
294288
size_t EndOfSectionByte = getNumStaticSamplers() == 0
295289
? PartData.size()

llvm/unittests/Object/DXContainerTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "llvm/Object/DXContainer.h"
1010
#include "llvm/ADT/StringRef.h"
11-
#include "llvm/BinaryFormat/DXContainer.h"
1211
#include "llvm/BinaryFormat/Magic.h"
1312
#include "llvm/ObjectYAML/DXContainerYAML.h"
1413
#include "llvm/ObjectYAML/yaml2obj.h"

0 commit comments

Comments
 (0)