diff options
author | Jakub Kuderski <jakub@nod-labs.com> | 2025-10-06 20:16:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-06 20:16:32 -0400 |
commit | 454ef024c1c3f9973cd4f70b1cf00026e66f5bf3 (patch) | |
tree | 14de643a067647bb170e74f2657613769584629b /clang/lib/Testing/CommandLineArgs.cpp | |
parent | 64574d3564fc2b4d3ec812a57a414f67558c26e4 (diff) | |
download | llvm-454ef024c1c3f9973cd4f70b1cf00026e66f5bf3.zip llvm-454ef024c1c3f9973cd4f70b1cf00026e66f5bf3.tar.gz llvm-454ef024c1c3f9973cd4f70b1cf00026e66f5bf3.tar.bz2 |
[ADT] Add `sum_of` and `product_of` accumulate wrappers (#162129)
Also extend the `accumulate` wrapper to accept a binary operator.
The goal is to the most common usage of `std::accumulate` across the
codebase -- calculating either the sum of or the product of all values.
Diffstat (limited to 'clang/lib/Testing/CommandLineArgs.cpp')
0 files changed, 0 insertions, 0 deletions