We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92a9d9 commit b548e71Copy full SHA for b548e71
llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
@@ -215,9 +215,12 @@ class CounterExpressionBuilder {
215
/// LHS.
216
Counter subtract(Counter LHS, Counter RHS, bool Simplify = true);
217
218
+ /// K to V map. K will be Counter in most cases. V may be Counter or
219
+ /// Expression.
220
using SubstMap = std::map<Counter, Counter>;
221
- /// 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.
224
Counter subst(Counter C, const SubstMap &Map);
225
};
226
0 commit comments