Go to file
Serge Guelton 6e0b562bf6 [NFC] Make Optional<T> trivially copyable when T is trivially copyable
This is a follow-up to r354246 and a reimplementation of https://reviews.llvm.org/D57097?id=186600
that should not trigger any UB thanks to the use of an union.

This may still be subject to the problem solved by std::launder, but I'm unsure how it interacts whith union.
/me plans to revert if this triggers any relevant bot failure. At least this validates in Release mode with
clang 6.0.1 and gcc 4.8.5.

llvm-svn: 354264
2019-02-18 12:07:12 +00:00
clang [clang][Index] Fix usage of IndexImplicitInstantiation 2019-02-18 11:30:43 +00:00
clang-tools-extra [clang-tidy][NFCI] DanglingHandleCheck: Remove a superflous IgnoreParenImpCasts 2019-02-17 18:21:54 +00:00
compiler-rt [compiler-rt] Fix broken sanitizer bots (hopefully) 2019-02-17 18:47:33 +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 Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
libcxx [compiler-rt] Build custom libcxx with libcxxabi 2019-02-17 12:16:20 +00:00
libcxxabi [compiler-rt] Build custom libcxx with libcxxabi 2019-02-17 12:16:20 +00:00
libunwind [CMake] Don't cache LLVM_MAIN_SRC_DIR 2019-02-13 07:09:26 +00:00
lld lld-link: Mention comdat selection work in the 9.0.0 wip release notes 2019-02-18 01:32:16 +00:00
lldb minidump: Add ability to attach (breakpad) symbol files to placeholder modules 2019-02-18 11:55:01 +00:00
llgo Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
llvm [NFC] Make Optional<T> trivially copyable when T is trivially copyable 2019-02-18 12:07:12 +00:00
openmp [OpenMP] Fix broken link to browse sources 2019-02-12 17:00:57 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly [opaque pointer types] Update calls to CreateCall to pass the function 2019-02-08 19:30:46 +00:00
pstl [pstl] Remove some warnings when compiling with a recent Clang 2019-02-15 17:30:35 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
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.