hanchenye-llvm-project/clang/test
David Majnemer 742424339a Sema: Disallow taking the address of a bitfield coming from preincrement
Clang forgot that '++s.m' was a bitfield l-value and permit it's address
to be taken; this would crash at CodeGen-time.

Instead, propagate the object-kind when we see the prefix
increment/decrement.

This fixes PR20496.

Differential Revision: http://reviews.llvm.org/D4733

llvm-svn: 214386
2014-07-31 04:52:13 +00:00
..
ARCMT [analyzer] Check for NULL passed to CFAutorelease. 2014-06-21 23:50:40 +00:00
ASTMerge
Analysis Fix some cases of incorrect handling of lifetime extended temporaries. 2014-07-30 08:34:42 +00:00
CXX Sema: Disallow taking the address of a bitfield coming from preincrement 2014-07-31 04:52:13 +00:00
CodeCompletion
CodeGen [AVX512] Add unaligned FP load intrinsics 2014-07-31 04:00:39 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX Update for llvm change. 2014-07-30 22:52:16 +00:00
CodeGenObjC Revert "Emit column debug information for loads" 2014-07-29 06:53:14 +00:00
CodeGenObjCXX Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
CodeGenOpenCL Add OpenCL/SPIR kernel_arg_base_type metadata node 2014-07-30 14:39:53 +00:00
Coverage Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Driver Support LIBRARY_PATH on all Darwin targets. 2014-07-29 20:17:52 +00:00
FixIt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Headers AVX-512: Added intrinsics to clang. 2014-07-22 11:31:39 +00:00
Index [test] Add '-target' option to fix bot failure. 2014-06-21 18:28:44 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout MS ABI: Consider alignment attributes on typedefs for layout 2014-07-30 01:30:47 +00:00
Lexer Improving the "integer constant too large" diagnostics based on post-commit feedback from Richard Smith. Amends r213657. 2014-07-24 14:51:23 +00:00
Misc Provide warning name for property attribute warning 2014-07-29 19:45:49 +00:00
Modules [modules] Add testcase for a bug reduced from a selfhost issue. This bug was 2014-07-29 00:58:01 +00:00
OpenMP [OPENMP] Improved DSA processing of the loop control variables for loop directives. 2014-07-25 06:27:47 +00:00
PCH [TEST] Improve tests for #pragma clang optimize off/on 2014-07-28 14:33:17 +00:00
Parser Revert r214333, "Add a state variable to the loop hint attribute." 2014-07-31 01:52:33 +00:00
Preprocessor [SKX] Enabling SKX target (Skylake server chip) 2014-07-30 13:53:40 +00:00
Profile CodeGen: Improve warnings about uninstrumented files when profiling 2014-06-26 01:45:07 +00:00
Rewriter Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Sema Suppress clang/test/Sema/struct-packed-align.c also on msvc for investigating. 2014-07-30 12:17:38 +00:00
SemaCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
SemaCXX Rename this test so that it actually runs, and fix it so that it passes. 2014-07-31 00:22:56 +00:00
SemaObjC Objective-C. Improve diagnostic when property is 2014-07-28 16:35:45 +00:00
SemaObjCXX Fix assertion hit or bogus compiler error in cases when instantiating ObjC property accesses used with overloaded binary operators. 2014-06-19 14:45:16 +00:00
SemaOpenCL [OpenCL] Reject reqd_work_group_size(X, Y, Z) where X, Y or Z == 0. 2014-05-19 14:41:38 +00:00
SemaTemplate Take the canonical type when forming a canonical template argument with 2014-07-24 02:27:39 +00:00
TableGen
Tooling clang/test: Introduce the feature "staticanalyzer" for --enable-clang-static-analyzer. 2014-07-16 12:05:45 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
VFS Make -Wincomplete-umbrella go through the VFS 2014-06-25 23:53:43 +00:00
.clang-format
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
lit.site.cfg.in Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
make_test_dirs.pl