Go to file
JF Bastien 6b23972f07 CodeGen: block capture shouldn't ICE
When a lambda capture captures a __block in the same statement, the compiler asserts out because isCapturedBy assumes that an Expr can only be a BlockExpr, StmtExpr, or if it's a Stmt then all the statement's children are expressions. That's wrong, we need to visit all sub-statements even if they're not expressions to see if they also capture.

Fix this issue by pulling out the isCapturedBy logic to use RecursiveASTVisitor.

<rdar://problem/39926584>

llvm-svn: 332801
2018-05-19 04:21:26 +00:00
clang CodeGen: block capture shouldn't ICE 2018-05-19 04:21:26 +00:00
clang-tools-extra Revert "[clangd] Adapt file migration in r332720" 2018-05-18 18:33:21 +00:00
compiler-rt Align ClearShadowForThreadStackAndTLS for NetBSD/i386 2018-05-19 01:20:00 +00:00
debuginfo-tests [Darwin] Specify DWARF 2/4 when running apple accelerator tests. 2018-02-26 20:56:45 +00:00
libclc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
libcxx Remove expression '1L + INT_MAX', because it overflows on machines where int/long are the same size 2018-05-19 03:09:05 +00:00
libcxxabi private_typeinfo: limit is_dst_type_derived_from_static_type optimization 2018-05-18 20:51:38 +00:00
libunwind [OR1K] Add the EPCR special-purpose register to register state. 2018-05-16 19:09:48 +00:00
lld Fix unused variable warning in non-debug builds. 2018-05-19 00:37:23 +00:00
lldb [lldb] Fix compile warnings in r332702 2018-05-18 16:19:52 +00:00
llgo
llvm Fix build warning compiling TestPlugin on Windows and disable Passes plugin stuff on Windows since it fundamentally can't work 2018-05-19 03:05:30 +00:00
openmp [libomptarget-nvptx-bc] Pass found CUDA installations 2018-05-16 17:20:27 +00:00
parallel-libs
polly [SCEVAffinator] BB can be null; don't use it to get the LLVMContext. 2018-05-18 21:57:44 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.