Go to file
JF Bastien 7a210d65ed Fix lld on GCC 5.1 after the C++14 move
Summary:
libstdc++ in GCC 5.1 has some bugs. The move to C++14 in D66195 triggered one
such bug caused by the new constexpr support in C++14, and the implementation
doing SFINAE wrong with the comparator to std::stable_sort.

Here's a small repro: https://godbolt.org/z/2QC3-n

The fix is to inline the lambdas directly into the llvm::stable_sort call
instead of erasing them through a std::function. The code is more readable as
well.

Reviewers: thakis, ruiu, espindola

Subscribers: emaste, arichardson, MaskRay, jkorous, dexonsmith, llvm-commits

Tags: #llvm

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

llvm-svn: 369023
2019-08-15 17:47:19 +00:00
clang Test commit #2. 2019-08-15 17:17:21 +00:00
clang-tools-extra
compiler-rt [sanitizer_common] Always use posix_spawn on Darwin 2019-08-15 17:25:10 +00:00
debuginfo-tests
libclc
libcxx
libcxxabi
libunwind
lld Fix lld on GCC 5.1 after the C++14 move 2019-08-15 17:47:19 +00:00
lldb
llgo
llvm [X86] Improve cost model for subvector extraction of less than 128-bit vectors 2019-08-15 17:29:42 +00:00
openmp
parallel-libs
polly
pstl
.arcconfig
.clang-format
.clang-tidy
.gitignore
README.md

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.