Skip to content

Commit 7d76377

Browse files
committed
self-review: touch up comment
1 parent 0a8d228 commit 7d76377

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/include/llvm/Frontend/HLSL/HLSLRootSignatureUtils.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ class ResourceRange {
110110
// insert(E) -> true
111111
// intervals: [0;unbounded] -> E
112112
//
113-
// Returns if the first overlapping range when inserting
114-
// (same return as getOverlapping)
113+
// Returns a reference to the first RangeInfo that overlaps with
114+
// [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
115+
// (equivalent to getOverlapping)
115116
std::optional<const RangeInfo *> insert(const RangeInfo &Info);
116117
};
117118

0 commit comments

Comments
 (0)