Go to file
Michael Kruse 157a355f3b Use zip_longest for iterator range comparisons. NFC.
Use zip_longest in two locations that compare iterator ranges.
zip_longest allows the iteration using a range-based for-loop and to be
symmetric over both ranges instead of prioritizing one over the other.
In that latter case code have to handle the case that the first is
longer than the second, the second is longer than the first, and both
are of the same length, which must partially be checked after the loop.

With zip_longest, this becomes an element comparison within the loop
like the comparison of the elements themselves. The symmetry makes it
clearer that neither the first and second iterators are handled
differently. The iterators are not event used directly anymore, just
the ranges.

Differential Revision: https://reviews.llvm.org/D55468

llvm-svn: 348762
2018-12-10 15:16:37 +00:00
clang Use zip_longest for iterator range comparisons. NFC. 2018-12-10 15:16:37 +00:00
clang-tools-extra [Documentation] Alphabetical order in new checks list. 2018-12-08 00:07:34 +00:00
compiler-rt Add data types needed for md2(3)/NetBSD interceptors 2018-12-10 09:09:18 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc travis: Add cmake build 2018-11-27 16:07:21 +00:00
libcxx Update a couple of vector<bool> tests that were testing libc++-specific bahavior. Thanks to Andrey Maksimov for the catch. 2018-12-07 22:16:26 +00:00
libcxxabi [libcxx] Remove bad_array_length 2018-11-29 19:44:57 +00:00
libunwind [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
lld [LLD][ELF] - Support discarding the .dynamic section. 2018-12-10 09:24:49 +00:00
lldb Revert a hunk that shouldn't have been included in the last commit. 2018-12-09 02:38:04 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [GlobalISel] Set stack protector index when translating Intrinsic::stackprotector 2018-12-10 15:15:05 +00:00
openmp [OPENMP][NVPTX]Enable fast shuffles on 64bit values only if CUDA >= 9. 2018-12-10 14:29:05 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

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.