llvm-project/llvm
Kazu Hirata dc300beba7 [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
2021-01-18 10:16:34 -08:00
..
benchmarks
bindings [Go] Fix bindings/go/llvm/IRBindings.cpp 2020-12-16 10:09:58 -08:00
cmake Reland [lldb][docs] Use sphinx instead of epydoc to generate LLDB's Python reference 2021-01-17 12:13:01 +01:00
docs [Doc] Fix example in codegen doc. 2021-01-18 08:24:10 -05:00
examples [Orc] Fix OrcV2Examples after D94690 2021-01-15 13:45:46 +01:00
include [STLExtras] Add a default value to drop_begin 2021-01-18 10:16:34 -08:00
lib [STLExtras] Add a default value to drop_begin 2021-01-18 10:16:34 -08:00
projects
resources
runtimes [CMake] Split the target side of runtimes build 2021-01-11 23:39:36 -08:00
test [AArch64] Make target intrinsics DefaultAttrIntrinsics. 2021-01-18 17:32:15 +00:00
tools [Object, llvm-readelf] - Move the API for retrieving symbol versions to ELF.h 2021-01-18 12:50:29 +03:00
unittests [STLExtras] Add a default value to drop_begin 2021-01-18 10:16:34 -08:00
utils [TableGen] Drop redundant const from return types (NFC) 2021-01-17 10:39:49 -08:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [llvm] [cmake] Remove obsolete /usr/local hack for *BSD 2021-01-12 19:26:04 +01:00
CODE_OWNERS.TXT Change XCore code owner. 2021-01-14 12:13:48 +00:00
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.