1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
Go to file
Justin Lebar b77224b68f Use C++14-style return type deduction in LLVM.
Summary:
Simplifies the C++11-style "-> decltype(...)" return-type deduction.

Note that you have to be careful about whether the function return type
is `auto` or `decltype(auto)`.  The difference is that bare `auto`
strips const and reference, just like lambda return type deduction.  In
some cases that's what we want (or more likely, we know that the return
type is a value type), but whenever we're wrapping a templated function
which might return a reference, we need to be sure that the return type
is decltype(auto).

No functional change.

Subscribers: dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74383
2020-02-11 07:38:42 -08:00
benchmarks
bindings Pass length of string in Go binding of CreateCompileUnit 2020-01-17 13:35:30 -08:00
cmake [CMake] Use LLVM tools external project build where possible 2020-02-07 13:43:30 -08:00
docs [CodingStandards] Clarify C++ Standard Library usage 2020-02-10 20:30:00 -06:00
examples [CMake] Add missing component dependencies, to fix building for mingw with BUILD_SHARED_LIBS 2020-02-05 13:10:27 +02:00
include Use C++14-style return type deduction in LLVM. 2020-02-11 07:38:42 -08:00
lib [SCCP] Remove forcedconstant, go to overdefined instead 2020-02-11 15:24:15 +00:00
projects Add few docs and implementation of strcpy and strcat. 2019-10-04 17:30:54 +00:00
resources
runtimes Revert "[CMake] Filter libc++abi and libunwind from runtimes build in MSVC" 2020-02-07 11:28:21 -08:00
test [SCCP] Remove forcedconstant, go to overdefined instead 2020-02-11 15:24:15 +00:00
tools Use C++14-style return type deduction in LLVM. 2020-02-11 07:38:42 -08:00
unittests Use C++14-style return type deduction in LLVM. 2020-02-11 07:38:42 -08:00
utils Use C++14-style return type deduction in LLVM. 2020-02-11 07:38:42 -08:00
.arcconfig
.clang-format
.clang-tidy - Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory 2020-01-31 16:49:45 +00:00
.gitattributes Fix the "git modified" issue on the preserve-comments-crlf.s. 2019-09-10 12:17:49 +00:00
.gitignore Continue removing llgo. 2020-02-10 10:33:58 -08:00
CMakeLists.txt Continue removing llgo. 2020-02-10 10:33:58 -08:00
CODE_OWNERS.TXT Continue removing llgo. 2020-02-10 10:33:58 -08:00
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
README.txt Test commit. 2019-10-03 14:57:49 +00:00
RELEASE_TESTERS.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.