Skip to content

Commit ee63c2e

Browse files
committed
self-review: touch up comment
1 parent f5226ad commit ee63c2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,9 @@ class ResourceRange {
254254
// insert(E) -> true
255255
// intervals: [0;unbounded] -> E
256256
//
257-
// Returns if the first overlapping range when inserting
258-
// (same return as getOverlapping)
257+
// Returns a reference to the first RangeInfo that overlaps with
258+
// [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
259+
// (equivalent to getOverlapping)
259260
std::optional<const RangeInfo *> insert(const RangeInfo &Info);
260261
};
261262

0 commit comments

Comments
 (0)