Go to file
Richard Smith debad6460b Reject attempts to call non-static member functions on objects outside
their lifetime in constant expressions.

This is undefined behavior per [class.cdtor]p2.

We continue to allow this for objects whose values are not visible
within the constant evaluation, because there's no way we can tell
whether the access is defined or not, existing code relies on the
ability to make such calls, and every other compiler allows such
calls.

This reinstates r360499, reverted in r360531.

llvm-svn: 360538
2019-05-12 09:39:08 +00:00
clang Reject attempts to call non-static member functions on objects outside 2019-05-12 09:39:08 +00:00
clang-tools-extra Removing an unused member variable; NFC. 2019-05-10 18:29:10 +00:00
compiler-rt [compiler-rt] Fix crtbegin.c compilation 2019-05-11 02:33: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 travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx force the bots to cycle 2019-05-09 02:34:37 +00:00
libcxxabi minor cmake formatting style fix 2019-05-07 13:14:14 +00:00
libunwind [gn] Support for building libunwind 2019-05-02 17:29:37 +00:00
lld [COFF] Update LLD yaml test cases to include .bss size 2019-05-10 22:12:51 +00:00
lldb [Breakpoint] Make breakpoint language agnostic 2019-05-11 03:32:25 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [utils] update_test_checks.py: allow opt-8, opt-9 2019-05-12 04:55:09 +00:00
openmp [OPENMP][NVPTX]Improve number of threads counter, NFC. 2019-05-10 18:56:05 +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 [ZoneAlgo] Fix PHI inconsistency in invalid contexts. 2019-05-10 18:38:13 +00:00
pstl [pstl] Make the default backend be the serial backend and always provide parallel policies 2019-04-24 20:12:36 +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
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +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.