Skip to content

Commit cd91ac2

Browse files
committed
fixup: Add CGHLSLOffsetInfo::empty()
1 parent 93e075d commit cd91ac2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/CodeGen/CGHLSLRuntime.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ class CGHLSLOffsetInfo {
110110
return Unspecified;
111111
return Offsets[I];
112112
}
113+
114+
bool empty() const { return Offsets.empty(); }
113115
};
114116

115117
class CGHLSLRuntime {

0 commit comments

Comments
 (0)