Go to file
Bruno Ricci ed414847bc [Sema] Don't try to account for the size of an incomplete type in CheckArrayAccess
When checking that the array access is not out-of-bounds in CheckArrayAccess
it is possible that the type of the base expression after IgnoreParenCasts is
incomplete, even though the type of the base expression before IgnoreParenCasts
is complete. In this case we have no information about whether the array access
is out-of-bounds and we should just bail-out instead. This fixes PR39746 which
was caused by trying to obtain the size of an incomplete type.

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

Reviewed By: efriedma

llvm-svn: 349811
2018-12-20 20:05:11 +00:00
clang [Sema] Don't try to account for the size of an incomplete type in CheckArrayAccess 2018-12-20 20:05:11 +00:00
clang-tools-extra [clangd] Try to workaround test failure by increasing the timeouts 2018-12-20 16:27:19 +00:00
compiler-rt [Sanitizer] Enable vis api on FreeBSD 2018-12-20 14:25:43 +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 cmake build 2018-11-27 16:07:21 +00:00
libcxx [libcxx] Fix order checking in unordered_multimap tests. 2018-12-20 17:55:31 +00:00
libcxxabi [libcxx] Remove bad_array_length 2018-11-29 19:44:57 +00:00
libunwind [SEH] Add initial support for AArch64 2018-12-18 20:05:59 +00:00
lld [PPC64] Add toc-optimizations for got based relocations. 2018-12-20 17:00:33 +00:00
lldb [lit] Skip stop-hook test on Windows 2018-12-20 18:23:08 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [llvm-objcopy] [COFF] Don't call memcpy() with a null argument. NFC. 2018-12-20 19:48:39 +00:00
openmp [Tests] [OpenMP] XFAIL also for ppc64le. 2018-12-18 19:05:07 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +00:00
pstl Initial PSTL commit 2018-12-19 17:45:32 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

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.