Skip to content

Commit 8d2a9d1

Browse files
committed
remove dangling public
1 parent acd966a commit 8d2a9d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Frontend/HLSL/HLSLBinding.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ struct BindingRange {
3535
};
3636

3737
struct BaseRegisterSpace {
38+
protected:
3839
uint32_t Space;
3940
SmallVector<BindingRange> Ranges;
4041
BaseRegisterSpace(uint32_t Space) : Space(Space) {}
41-
42+
public:
4243
bool operator==(const BaseRegisterSpace &Other) const {
4344
return Space == Other.Space;
4445
}
@@ -91,7 +92,6 @@ template <typename T> struct BindingSpaces {
9192
/// }
9293
/// }
9394
class BindingInfo {
94-
public:
9595
private:
9696
BindingSpaces<FreeRegisterSpace> SRVSpaces{dxil::ResourceClass::SRV};
9797
BindingSpaces<FreeRegisterSpace> UAVSpaces{dxil::ResourceClass::UAV};

0 commit comments

Comments
 (0)