summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2016-04-26 10:05:45 +0000
committerAlexander Kornienko <alexfh@google.com>2016-04-26 10:05:45 +0000
commit6e2f32c56123d5ab83051ef8641a8f7d3db505be (patch)
tree2a2ea1a346ee998034778ac7d42811717c3e1fcb /lldb/packages/Python/lldbsuite/test/python_api
parent5a55a029c01e9f93e555911935cbb7b2635dd0b9 (diff)
downloadbcm5719-llvm-6e2f32c56123d5ab83051ef8641a8f7d3db505be.tar.gz
bcm5719-llvm-6e2f32c56123d5ab83051ef8641a8f7d3db505be.zip
A clang-tidy check for std:accumulate.
Summary: For folds (e.g. std::accumulate), check matches between the provided init value and the range's value_type. A typical error is "std::accumulate(begin, end, 0);", where begin and end have float value_type. See the documentation for more examples. For now we check std::accumulate, std::reduce and std::inner_product. Reviewers: hokein, alexfh Subscribers: Prazek, aaron.ballman, cfe-commits, courbet Patch by Clément Courbet! Differential Revision: http://reviews.llvm.org/D18442 llvm-svn: 267542
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud