Skip to content

Commit b548e71

Browse files
committed
Add comments
1 parent d92a9d9 commit b548e71

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,12 @@ class CounterExpressionBuilder {
215215
/// LHS.
216216
Counter subtract(Counter LHS, Counter RHS, bool Simplify = true);
217217

218+
/// K to V map. K will be Counter in most cases. V may be Counter or
219+
/// Expression.
218220
using SubstMap = std::map<Counter, Counter>;
219221

220-
/// Return a counter for each term in the expression replaced by SubstMap.
222+
/// \return A counter equivalent to \C, with each term in its
223+
/// expression replaced with term from \p Map.
221224
Counter subst(Counter C, const SubstMap &Map);
222225
};
223226

0 commit comments

Comments
 (0)