diff options
author | Kazu Hirata <kazu@google.com> | 2021-01-18 10:16:34 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2021-01-18 10:16:34 -0800 |
commit | dc300beba7a849aac44c39ccc450a575db99bc14 (patch) | |
tree | 2859643b216779a1a502ad7a02c5b2cffd07be65 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 28ea50f524b56e11b608ca1f768d2981579ebe75 (diff) | |
download | llvm-dc300beba7a849aac44c39ccc450a575db99bc14.zip llvm-dc300beba7a849aac44c39ccc450a575db99bc14.tar.gz llvm-dc300beba7a849aac44c39ccc450a575db99bc14.tar.bz2 |
[STLExtras] Add a default value to drop_begin
This patch adds the default value of 1 to drop_begin.
In the llvm codebase, 70% of calls to drop_begin have 1 as the second
argument. The interface similar to with std::next should improve
readability.
This patch converts a couple of calls to drop_begin as examples.
Differential Revision: https://reviews.llvm.org/D94858
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions